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.001212/0.001211, allocations: 105.5 kB / 17.06 MB, free: 6.098 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.001249/0.001249, allocations: 194.9 kB / 18 MB, free: 5.172 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.521/1.521, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1786/0.1786, allocations: 38.05 MB / 329.9 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.91 kB / 458.2 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.4515, allocations: 58.05 MB / 0.5041 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007458/0.4591, allocations: 5.49 MB / 0.5095 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.4618, allocations: 1.308 MB / 0.5107 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000299/0.4621, allocations: 18.44 kB / 0.5108 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.4626, allocations: 134.3 kB / 0.5109 GB, free: 2.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008322/0.4635, allocations: 375 kB / 0.5112 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.4638, allocations: 137.1 kB / 0.5114 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009989/0.4649, allocations: 0.7528 MB / 0.5121 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004151/0.4653, allocations: 200.8 kB / 0.5123 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005934/0.4659, allocations: 333.7 kB / 0.5126 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007569/0.4666, allocations: 382.3 kB / 0.513 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.101e-05/0.4667, allocations: 36.03 kB / 0.513 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.4669, allocations: 36.19 kB / 0.5131 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.4671, allocations: 197.7 kB / 0.5132 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002938/0.4674, allocations: 253.1 kB / 0.5135 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008391/0.4683, allocations: 0.5281 MB / 0.514 GB, free: 1.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4683, allocations: 0 / 0.514 GB, free: 1.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.4683, allocations: 1 kB / 0.514 GB, free: 1.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.4683, allocations: 3.938 kB / 0.514 GB, free: 1.449 MB / 382.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.001374/0.4697, allocations: 0.8175 MB / 0.5148 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.4697, allocations: 10.56 kB / 0.5148 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.4698, allocations: 53.17 kB / 0.5149 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008553/0.4707, allocations: 496.9 kB / 0.5153 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.4708, allocations: 33.08 kB / 0.5154 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.4709, allocations: 41.48 kB / 0.5154 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007867/0.4716, allocations: 0.4957 MB / 0.5159 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.4717, allocations: 1.25 kB / 0.5159 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.4717, allocations: 17.28 kB / 0.5159 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/0.4718, allocations: 19.72 kB / 0.5159 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006376/0.4724, allocations: 364.9 kB / 0.5163 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/0.4754, allocations: 2.077 MB / 0.5183 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004513/0.4759, allocations: 243.1 kB / 0.5185 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.4761, allocations: 129.7 kB / 0.5187 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.4762, allocations: 6.766 kB / 0.5187 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.4762, allocations: 34.52 kB / 0.5187 GB, free: 14.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 3.767e-06/0.4762, allocations: 4 kB / 0.5187 GB, free: 14.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001301/0.4775, allocations: 0.7737 MB / 0.5195 GB, free: 13.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.4776, allocations: 81.38 kB / 0.5195 GB, free: 13.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005101/0.4781, allocations: 383.6 kB / 0.5199 GB, free: 13.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.4782, allocations: 31.11 kB / 0.5199 GB, free: 13.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.4784, allocations: 296.5 kB / 0.5202 GB, free: 13.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.99e-05/0.4785, allocations: 90.05 kB / 0.5203 GB, free: 13.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.4786, allocations: 83.05 kB / 0.5204 GB, free: 13.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.4788, allocations: 349.4 kB / 0.5207 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.479, allocations: 84.84 kB / 0.5208 GB, free: 12.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.4794, allocations: 278.2 kB / 0.5211 GB, free: 12.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/0.4799, allocations: 407.6 kB / 0.5215 GB, free: 12.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.4799, allocations: 2.094 kB / 0.5215 GB, free: 12.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008355/0.4808, allocations: 454.9 kB / 0.5219 GB, free: 11.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.4808, allocations: 8.062 kB / 0.5219 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.4808, allocations: 5.844 kB / 0.5219 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.4811, allocations: 55.66 kB / 0.522 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.4813, allocations: 80.08 kB / 0.522 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.4831, allocations: 1.616 MB / 0.5236 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.4833, allocations: 18.19 kB / 0.5236 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.4834, allocations: 22.36 kB / 0.5236 GB, free: 10.29 MB / 398.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.0002395/0.4836, allocations: 203.8 kB / 0.5238 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.245e-05/0.4837, allocations: 41.2 kB / 0.5239 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.4841, allocations: 243.3 kB / 0.5241 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4841, allocations: 3.406 kB / 0.5241 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.4841, allocations: 0 / 0.5241 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4841, allocations: 3.922 kB / 0.5241 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009771/0.4851, allocations: 0.6932 MB / 0.5248 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4851, allocations: 0 / 0.5248 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.4853, allocations: 43.83 kB / 0.5248 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.4853, allocations: 1.375 kB / 0.5248 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.4854, allocations: 11.3 kB / 0.5249 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4854, allocations: 1.375 kB / 0.5249 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4854, allocations: 2.219 kB / 0.5249 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005689/0.4859, allocations: 434.6 kB / 0.5253 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.4861, allocations: 128.4 kB / 0.5254 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.4862, allocations: 11.44 kB / 0.5254 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.4863, allocations: 4.766 kB / 0.5254 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.4864, allocations: 19.27 kB / 0.5254 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.4864, allocations: 10.38 kB / 0.5254 GB, free: 9.086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003067/0.4867, allocations: 262.9 kB / 0.5257 GB, free: 8.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4867, allocations: 0 / 0.5257 GB, free: 8.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004797/0.4872, allocations: 87.08 kB / 0.5258 GB, free: 8.949 MB / 398.1 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: 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.0001431/0.4873, allocations: 103.1 kB / 0.5259 GB, free: 8.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007605/0.4881, allocations: 382.7 kB / 0.5262 GB, free: 8.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4881, allocations: 0 / 0.5262 GB, free: 8.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.4883, allocations: 89.33 kB / 0.5263 GB, free: 8.625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006234/0.4889, allocations: 100.1 kB / 0.5264 GB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.4903, allocations: 0.8489 MB / 0.5272 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.4909, allocations: 0.8579 MB / 0.5281 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.4911, allocations: 83.62 kB / 0.5282 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.758e-05/0.4912, allocations: 30.97 kB / 0.5282 GB, free: 7.328 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4912, allocations: 0 / 0.5282 GB, free: 7.328 MB / 398.1 MB Notification: Performance of Templates: time 0.008992/0.5002, allocations: 3.656 MB / 0.5318 GB, free: 6.551 MB / 398.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