Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002064/0.002064, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1699/0.1699, allocations: 38.05 MB / 329.7 MB, free: 8.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001199, allocations: 64.55 kB / 398.8 MB, free: 34.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1142, allocations: 58.06 MB / 456.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.006504/0.1207, allocations: 5.499 MB / 462.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1227, allocations: 1.309 MB / 463.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.1229, allocations: 19.88 kB / 463.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004109/0.1233, allocations: 131.1 kB / 463.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007713/0.1242, allocations: 374.3 kB / 464.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.1244, allocations: 135.8 kB / 464.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006716/0.1251, allocations: 0.7515 MB / 465.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/0.1254, allocations: 200.1 kB / 465.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003807/0.1258, allocations: 338.5 kB / 465.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005116/0.1263, allocations: 382.7 kB / 466 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.187e-05/0.1264, allocations: 36 kB / 466 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.505e-05/0.1265, allocations: 36 kB / 466 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.1267, allocations: 187.5 kB / 466.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.1269, allocations: 254.8 kB / 466.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.1274, allocations: 0.5177 MB / 467 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.1274, allocations: 0 / 467 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1274, allocations: 0 / 467 MB, free: 13.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1274, allocations: 0 / 467 MB, free: 13.88 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001183/0.1286, allocations: 0.8008 MB / 467.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1287, allocations: 8.031 kB / 467.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.097e-05/0.1288, allocations: 56.28 kB / 467.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006578/0.1294, allocations: 460.4 kB / 468.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.1295, allocations: 32.94 kB / 468.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.847e-05/0.1295, allocations: 39.98 kB / 468.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006492/0.1302, allocations: 0.4961 MB / 468.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1302, allocations: 0 / 468.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.1303, allocations: 16 kB / 468.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/0.1303, allocations: 20.98 kB / 468.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005305/0.1308, allocations: 375.7 kB / 469.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.1331, allocations: 2.079 MB / 471.4 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.1335, allocations: 241.3 kB / 471.6 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.1337, allocations: 133.7 kB / 471.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.1338, allocations: 0 / 471.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1338, allocations: 38.56 kB / 471.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/0.1338, allocations: 0 / 471.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001158/0.135, allocations: 0.7656 MB / 472.5 MB, free: 8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.135, allocations: 85.05 kB / 472.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/0.1354, allocations: 389.4 kB / 473 MB, free: 7.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1354, allocations: 25.7 kB / 473 MB, free: 7.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.1356, allocations: 287.1 kB / 473.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.592e-05/0.1357, allocations: 82.84 kB / 473.4 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.1358, allocations: 86.16 kB / 473.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1359, allocations: 346.8 kB / 473.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.136, allocations: 84.83 kB / 473.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.1363, allocations: 277.2 kB / 474.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/0.1367, allocations: 407.2 kB / 474.5 MB, free: 5.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1367, allocations: 4 kB / 474.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006785/0.1374, allocations: 445.9 kB / 475 MB, free: 5.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.1374, allocations: 8 kB / 475 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1375, allocations: 16 kB / 475 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001958/0.1377, allocations: 52.83 kB / 475.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.1379, allocations: 83.83 kB / 475.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.1393, allocations: 1.614 MB / 476.8 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.1395, allocations: 19.98 kB / 476.8 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.1396, allocations: 20 kB / 476.8 MB, free: 3.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002022/0.1398, allocations: 201.7 kB / 477 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.1398, allocations: 43.45 kB / 477 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.1402, allocations: 235.5 kB / 477.3 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1402, allocations: 4 kB / 477.3 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1402, allocations: 0 / 477.3 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.1402, allocations: 11.97 kB / 477.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007793/0.141, allocations: 0.6787 MB / 478 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.141, allocations: 0 / 478 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.1413, allocations: 51.91 kB / 478 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1413, allocations: 4 kB / 478 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.1413, allocations: 4 kB / 478 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1413, allocations: 4 kB / 478 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1413, allocations: 0 / 478 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004633/0.1418, allocations: 441.3 kB / 478.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1419, allocations: 128.6 kB / 478.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.1419, allocations: 4 kB / 478.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.1421, allocations: 4.125 kB / 478.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.1421, allocations: 19.92 kB / 478.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.1421, allocations: 8 kB / 478.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002319/0.1424, allocations: 263.1 kB / 478.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1424, allocations: 4.062 kB / 478.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004074/0.1428, allocations: 84 kB / 479 MB, free: 1.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001135/0.1429, allocations: 103.2 kB / 479.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006476/0.1436, allocations: 421.9 kB / 479.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1436, allocations: 0 / 479.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.1437, allocations: 91.89 kB / 479.6 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005707/0.1443, allocations: 108.3 kB / 479.7 MB, free: 356 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.1455, allocations: 0.854 MB / 480.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.146, allocations: 0.8583 MB / 481.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002527/0.1462, allocations: 84.12 kB / 481.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.1463, allocations: 31.44 kB / 481.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1463, allocations: 0 / 481.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of Templates: time 0.007278/0.1536, allocations: 3.553 MB / 485 MB, free: 10.94 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches