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.000861/0.0008612, allocations: 93.61 kB / 16.3 MB, free: 6.133 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.0009503/0.0009503, allocations: 177.5 kB / 17.2 MB, free: 6.016 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.227/1.227, allocations: 223.2 MB / 241.1 MB, free: 272 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.153/0.153, allocations: 38.09 MB / 330.3 MB, free: 8.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002915/0.0002915, allocations: 8 kB / 400 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0974/0.09771, allocations: 59.18 MB / 459.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.00525/0.103, allocations: 5.562 MB / 464.7 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.1052, allocations: 1.563 MB / 466.3 MB, free: 276 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/0.1055, allocations: 35.75 kB / 466.3 MB, free: 240 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.1058, allocations: 123.2 kB / 466.4 MB, free: 116 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007048/0.1065, allocations: 334.9 kB / 466.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.1068, allocations: 163.7 kB / 466.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.1072, allocations: 391.1 kB / 467.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.1075, allocations: 146.5 kB / 467.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.1078, allocations: 243.1 kB / 467.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000406/0.1082, allocations: 251.1 kB / 467.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.1083, allocations: 20 kB / 467.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.452e-05/0.1083, allocations: 24 kB / 468 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.1085, allocations: 155.6 kB / 468.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.588e-05/0.1086, allocations: 117.5 kB / 468.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.1089, allocations: 403 kB / 468.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1089, allocations: 0 / 468.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1089, allocations: 0 / 468.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.109, allocations: 0 / 468.6 MB, free: 13.89 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.00109/0.11, allocations: 0.7228 MB / 469.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.1101, allocations: 8.031 kB / 469.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.966e-05/0.1102, allocations: 55.34 kB / 469.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000664/0.1108, allocations: 455.2 kB / 469.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.1109, allocations: 33 kB / 469.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.111, allocations: 36 kB / 469.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006309/0.1116, allocations: 0.4883 MB / 470.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1116, allocations: 7.938 kB / 470.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.1117, allocations: 20 kB / 470.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.1117, allocations: 17 kB / 470.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005297/0.1122, allocations: 363.6 kB / 470.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.1145, allocations: 2.08 MB / 472.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.1149, allocations: 237.8 kB / 473.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.1149, allocations: 4.25 kB / 473.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1149, allocations: 42.73 kB / 473.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.1149, allocations: 4 kB / 473.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001362/0.1163, allocations: 0.946 MB / 474.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.1164, allocations: 81.11 kB / 474.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.1167, allocations: 381.4 kB / 474.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.1168, allocations: 33.83 kB / 474.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.117, allocations: 295 kB / 474.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.117, allocations: 82.78 kB / 475 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/0.117, allocations: 12 kB / 475 MB, free: 7.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.1172, allocations: 346.8 kB / 475.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.1174, allocations: 88.81 kB / 475.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.1176, allocations: 277.2 kB / 475.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.1178, allocations: 139.7 kB / 475.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1178, allocations: 0 / 475.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006296/0.1185, allocations: 461.4 kB / 476.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1185, allocations: 8 kB / 476.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.1185, allocations: 4 kB / 476.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002218/0.1187, allocations: 65.45 kB / 476.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.119, allocations: 83.78 kB / 476.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.1205, allocations: 1.625 MB / 478 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.1207, allocations: 19.98 kB / 478.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.1208, allocations: 16 kB / 478.1 MB, free: 3.77 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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002055/0.121, allocations: 205.6 kB / 478.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.121, allocations: 35.53 kB / 478.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.1214, allocations: 341.1 kB / 478.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1214, allocations: 4 kB / 478.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1215, allocations: 3.984 kB / 478.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1215, allocations: 0 / 478.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008552/0.1223, allocations: 0.7822 MB / 479.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1223, allocations: 0 / 479.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.1225, allocations: 47.95 kB / 479.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.514e-05/0.1226, allocations: 24.84 kB / 479.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1226, allocations: 0 / 479.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008683/0.1235, allocations: 1.385 MB / 480.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1235, allocations: 0 / 480.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005884/0.1241, allocations: 0.5605 MB / 481.5 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.1243, allocations: 120.6 kB / 481.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.1243, allocations: 8 kB / 481.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.1244, allocations: 8 kB / 481.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.1245, allocations: 15.97 kB / 481.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.1245, allocations: 8 kB / 481.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002425/0.1248, allocations: 255.2 kB / 481.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.844e-06/0.1248, allocations: 3.938 kB / 481.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004482/0.1252, allocations: 95.94 kB / 482 MB, free: 15.57 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.0001158/0.1253, allocations: 99.25 kB / 482.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005889/0.1259, allocations: 393.2 kB / 482.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1259, allocations: 3.938 kB / 482.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.1262, allocations: 218.4 kB / 482.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.1266, allocations: 82.66 kB / 482.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.1279, allocations: 1.038 MB / 483.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.1283, allocations: 0.8704 MB / 484.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002219/0.1285, allocations: 84.12 kB / 484.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.1286, allocations: 31.44 kB / 484.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1286, allocations: 0 / 484.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of Templates: time 0.007208/0.1358, allocations: 3.445 MB / 488.2 MB, free: 9.262 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches