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.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.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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=15000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009643/0.0009643, allocations: 99.81 kB / 16.3 MB, free: 5.555 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.001209/0.001209, allocations: 183.1 kB / 17.2 MB, free: 5.488 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.236/1.236, allocations: 223.2 MB / 241.1 MB, free: 360 kB / 190.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.09 MB / 330.3 MB, free: 8.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002875, allocations: 12 kB / 400 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1089, allocations: 59.17 MB / 459.1 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.006006/0.115, allocations: 5.577 MB / 464.7 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.1177, allocations: 1.618 MB / 466.3 MB, free: 212 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003546/0.118, allocations: 39.69 kB / 466.4 MB, free: 172 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.1184, allocations: 123.2 kB / 466.5 MB, free: 48 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008694/0.1193, allocations: 347 kB / 466.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.1198, allocations: 179.6 kB / 467 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004874/0.1202, allocations: 415.1 kB / 467.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002753/0.1205, allocations: 159.1 kB / 467.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003567/0.1209, allocations: 255 kB / 467.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004414/0.1214, allocations: 275 kB / 468.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.1214, allocations: 28 kB / 468.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.209e-05/0.1215, allocations: 20 kB / 468.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.1217, allocations: 167.5 kB / 468.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.1218, allocations: 125.3 kB / 468.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.1222, allocations: 422.9 kB / 468.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1222, allocations: 0 / 468.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1222, allocations: 0 / 468.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1222, allocations: 0 / 468.8 MB, free: 13.7 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001321/0.1235, allocations: 0.8023 MB / 469.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1236, allocations: 8.031 kB / 469.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.589e-05/0.1237, allocations: 59.25 kB / 469.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007395/0.1244, allocations: 477.6 kB / 470.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.1245, allocations: 36.92 kB / 470.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/0.1245, allocations: 43.98 kB / 470.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007401/0.1253, allocations: 0.5273 MB / 470.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1253, allocations: 0 / 470.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.1253, allocations: 16 kB / 470.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.885e-05/0.1254, allocations: 21 kB / 470.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005812/0.126, allocations: 391.6 kB / 471.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.1283, allocations: 1.947 MB / 473.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.1289, allocations: 325.3 kB / 473.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.1289, allocations: 8.062 kB / 473.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003576/0.1293, allocations: 268.4 kB / 473.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.1293, allocations: 0 / 473.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.002023/0.1313, allocations: 1.457 MB / 475.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.587e-05/0.1314, allocations: 166.2 kB / 475.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.1318, allocations: 393.9 kB / 475.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.1319, allocations: 29.7 kB / 475.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.1321, allocations: 295.5 kB / 476 MB, free: 5.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.1322, allocations: 114.4 kB / 476.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/0.1322, allocations: 12 kB / 476.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1324, allocations: 362.7 kB / 476.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.1326, allocations: 121 kB / 476.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.1329, allocations: 282.1 kB / 476.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.1331, allocations: 187.3 kB / 477.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1331, allocations: 3.938 kB / 477.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007774/0.1339, allocations: 0.6135 MB / 477.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.134, allocations: 37.66 kB / 477.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.134, allocations: 4 kB / 477.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001337/0.1341, allocations: 32.84 kB / 477.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.1345, allocations: 99.83 kB / 477.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.1356, allocations: 1.389 MB / 479.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.1358, allocations: 28.23 kB / 479.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.1359, allocations: 35.92 kB / 479.3 MB, free: 2.434 MB / 350.1 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,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002855/0.1362, allocations: 252.1 kB / 479.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.1362, allocations: 47.44 kB / 479.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007156/0.137, allocations: 0.5402 MB / 480.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.137, allocations: 4 kB / 480.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.137, allocations: 0 / 480.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.137, allocations: 3.984 kB / 480.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.1382, allocations: 1.073 MB / 481.3 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1383, allocations: 0 / 481.3 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.1385, allocations: 59.91 kB / 481.3 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.923e-05/0.1386, allocations: 28.88 kB / 481.3 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.1387, allocations: 8.062 kB / 481.3 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009234/0.1396, allocations: 1.389 MB / 482.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.1396, allocations: 7.969 kB / 482.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009798/0.1406, allocations: 0.836 MB / 483.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.1408, allocations: 148.5 kB / 483.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.1408, allocations: 8 kB / 483.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.141, allocations: 15.98 kB / 483.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/0.1411, allocations: 27.91 kB / 483.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.1412, allocations: 31.98 kB / 483.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002831/0.1415, allocations: 275.1 kB / 484.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1415, allocations: 0 / 484.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005449/0.142, allocations: 104 kB / 484.2 MB, free: 13.23 MB / 366.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: 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001534/0.1422, allocations: 107.2 kB / 484.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007636/0.1429, allocations: 0.5024 MB / 484.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.143, allocations: 0 / 484.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004138/0.1434, allocations: 381.7 kB / 485.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.1439, allocations: 94.19 kB / 485.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.1454, allocations: 1.191 MB / 486.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.1459, allocations: 0.9015 MB / 487.3 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002611/0.1462, allocations: 84.31 kB / 487.4 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.589e-05/0.1463, allocations: 31.44 kB / 487.5 MB, free: 9.84 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1463, allocations: 0 / 487.5 MB, free: 9.84 MB / 366.1 MB Notification: Performance of Templates: time 0.007967/0.1542, allocations: 3.97 MB / 491.4 MB, free: 5.91 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile Environment - environmentSimulation: (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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) Environment - environmentSimulation: 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","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches