Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.009/1.009, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2344/0.2344, allocations: 29.41 MB / 290.9 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.709e-05, allocations: 2.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.006678/0.006705, allocations: 4.859 MB / 374.5 MB, free: 6.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.008714, allocations: 1.348 MB / 375.9 MB, free: 4.738 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.008989, allocations: 27.75 kB / 375.9 MB, free: 4.711 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.009424, allocations: 123.1 kB / 376 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008365/0.01026, allocations: 393.8 kB / 376.4 MB, free: 4.203 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.01063, allocations: 159.6 kB / 376.5 MB, free: 4.047 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007965/0.01143, allocations: 0.7941 MB / 377.3 MB, free: 3.25 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.01168, allocations: 154.2 kB / 377.5 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006137/0.01229, allocations: 462.7 kB / 377.9 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005496/0.01284, allocations: 375 kB / 378.3 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.362e-05/0.0129, allocations: 40 kB / 378.3 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.219e-05/0.01299, allocations: 40 kB / 378.4 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.01316, allocations: 219.4 kB / 378.6 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.01334, allocations: 183.5 kB / 378.8 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005363/0.01388, allocations: 434.4 kB / 379.2 MB, free: 1.375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.01388, allocations: 0 / 379.2 MB, free: 1.375 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01388, allocations: 0 / 379.2 MB, free: 1.375 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.01389, allocations: 0 / 379.2 MB, free: 1.375 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001094/0.01499, allocations: 0.9356 MB / 380.1 MB, free: 408 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.01503, allocations: 11.98 kB / 380.1 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.01516, allocations: 100.5 kB / 380.2 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007512/0.01591, allocations: 471.3 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.01595, allocations: 29.38 kB / 380.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.047e-05/0.01603, allocations: 48.11 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005271/0.01656, allocations: 447.2 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.01657, allocations: 3.938 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.01661, allocations: 20 kB / 381.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-05/0.01666, allocations: 21 kB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.01697, allocations: 227.4 kB / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.01862, allocations: 1.977 MB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.01901, allocations: 291.2 kB / 383.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.01921, allocations: 149.1 kB / 383.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.01923, allocations: 8 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002667/0.0195, allocations: 285.5 kB / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.663e-06/0.0195, allocations: 0 / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001295/0.0208, allocations: 1.027 MB / 385.2 MB, free: 11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.02087, allocations: 162.2 kB / 385.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.02116, allocations: 434.6 kB / 385.8 MB, free: 10.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.02118, allocations: 33.83 kB / 385.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.02135, allocations: 355 kB / 386.2 MB, free: 9.969 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.256e-05/0.02142, allocations: 127 kB / 386.3 MB, free: 9.844 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.1e-05/0.02151, allocations: 99.8 kB / 386.4 MB, free: 9.738 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.02166, allocations: 0.5274 MB / 386.9 MB, free: 9.199 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.02177, allocations: 90.66 kB / 387 MB, free: 9.105 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.02197, allocations: 335 kB / 387.3 MB, free: 8.668 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.0223, allocations: 453.2 kB / 387.8 MB, free: 8.113 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.0223, allocations: 0 / 387.8 MB, free: 8.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004518/0.02275, allocations: 472.1 kB / 388.2 MB, free: 7.633 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.02279, allocations: 33.7 kB / 388.3 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.0228, allocations: 4 kB / 388.3 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.02282, allocations: 15.94 kB / 388.3 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.02307, allocations: 112.4 kB / 388.4 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.02308, allocations: 8 kB / 388.4 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.02322, allocations: 32 kB / 388.4 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/0.02326, allocations: 35.92 kB / 388.5 MB, free: 7.391 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.02341, allocations: 234 kB / 388.7 MB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.02346, allocations: 59.72 kB / 388.8 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.02389, allocations: 409.2 kB / 389.2 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.0239, allocations: 7.938 kB / 389.2 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.0239, allocations: 0 / 389.2 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.02391, allocations: 3.984 kB / 389.2 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008432/0.02475, allocations: 0.8751 MB / 390 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.02475, allocations: 3.938 kB / 390 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.02493, allocations: 63.91 kB / 390.1 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.02494, allocations: 4 kB / 390.1 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.02496, allocations: 11.98 kB / 390.1 MB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.02496, allocations: 4 kB / 390.1 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.02496, allocations: 0 / 390.1 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.02555, allocations: 0.6924 MB / 390.8 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-05/0.02564, allocations: 71.66 kB / 390.9 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.02568, allocations: 15.98 kB / 390.9 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.02579, allocations: 12 kB / 390.9 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.02585, allocations: 23.95 kB / 390.9 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.02588, allocations: 31.95 kB / 391 MB, free: 4.738 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.02605, allocations: 271.1 kB / 391.2 MB, free: 4.477 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02605, allocations: 3.938 kB / 391.2 MB, free: 4.473 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003073/0.02635, allocations: 104 kB / 391.3 MB, free: 4.371 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001244/0.02648, allocations: 107.2 kB / 391.4 MB, free: 4.258 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003923/0.02687, allocations: 391.7 kB / 391.8 MB, free: 3.848 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.02687, allocations: 0 / 391.8 MB, free: 3.848 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.02705, allocations: 230.1 kB / 392.1 MB, free: 3.602 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.02747, allocations: 116.1 kB / 392.2 MB, free: 3.496 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.02902, allocations: 0.9251 MB / 393.1 MB, free: 2.516 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.576e-05/0.02912, allocations: 149.7 kB / 393.2 MB, free: 2.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.02929, allocations: 88.3 kB / 393.3 MB, free: 2.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.328e-05/0.02936, allocations: 36.5 kB / 393.4 MB, free: 2.223 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02936, allocations: 0 / 393.4 MB, free: 2.223 MB / 362.7 MB Notification: Performance of Templates: time 0.006924/0.03629, allocations: 4.367 MB / 397.7 MB, free: 13.95 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3365633292123675]