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.001117/0.001117, allocations: 108.7 kB / 17.75 MB, free: 5.223 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.001012/0.001012, allocations: 190.4 kB / 18.67 MB, free: 4.305 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.382/1.382, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1873/0.1873, allocations: 38.04 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 59.89 kB / 458.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3349, allocations: 58.05 MB / 0.5048 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.006863/0.3418, allocations: 5.496 MB / 0.5101 GB, free: 3.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.3439, allocations: 1.309 MB / 0.5114 GB, free: 3.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003357/0.3443, allocations: 18.31 kB / 0.5114 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004527/0.3448, allocations: 130.2 kB / 0.5116 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008613/0.3457, allocations: 373.9 kB / 0.5119 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.346, allocations: 140.4 kB / 0.512 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007339/0.3468, allocations: 0.7551 MB / 0.5128 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.347, allocations: 203.2 kB / 0.513 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000452/0.3475, allocations: 338.8 kB / 0.5133 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005977/0.3481, allocations: 384.7 kB / 0.5137 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.097e-05/0.3482, allocations: 36.81 kB / 0.5137 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3483, allocations: 40.59 kB / 0.5137 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.3485, allocations: 197.3 kB / 0.5139 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002404/0.3488, allocations: 246.9 kB / 0.5142 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005601/0.3493, allocations: 0.5282 MB / 0.5147 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3493, allocations: 0 / 0.5147 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3494, allocations: 0 / 0.5147 GB, free: 1.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.3494, allocations: 0 / 0.5147 GB, free: 1.527 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.001223/0.3506, allocations: 0.8063 MB / 0.5155 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3506, allocations: 10.94 kB / 0.5155 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.069e-05/0.3507, allocations: 52.72 kB / 0.5155 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000782/0.3515, allocations: 487.5 kB / 0.516 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.3516, allocations: 37.23 kB / 0.516 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-05/0.3516, allocations: 37.34 kB / 0.5161 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/0.3524, allocations: 0.4959 MB / 0.5165 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.3524, allocations: 4.625 kB / 0.5166 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.3524, allocations: 16.84 kB / 0.5166 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/0.3525, allocations: 19.11 kB / 0.5166 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006085/0.3531, allocations: 366.7 kB / 0.5169 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002774/0.3559, allocations: 2.08 MB / 0.519 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.3563, allocations: 240.2 kB / 0.5192 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/0.3566, allocations: 130.6 kB / 0.5193 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.3566, allocations: 6.219 kB / 0.5193 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.3567, allocations: 36.64 kB / 0.5194 GB, free: 14.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.863e-06/0.3567, allocations: 1.125 kB / 0.5194 GB, free: 14.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001244/0.3579, allocations: 0.7603 MB / 0.5201 GB, free: 13.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.358, allocations: 80.23 kB / 0.5202 GB, free: 13.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.3584, allocations: 382 kB / 0.5205 GB, free: 13.53 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.3584, allocations: 29.7 kB / 0.5206 GB, free: 13.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.3586, allocations: 287.9 kB / 0.5209 GB, free: 13.26 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.328e-05/0.3587, allocations: 86.64 kB / 0.5209 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.3588, allocations: 82.5 kB / 0.521 GB, free: 13.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3589, allocations: 352.7 kB / 0.5213 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.3591, allocations: 84.64 kB / 0.5214 GB, free: 12.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.3593, allocations: 274.4 kB / 0.5217 GB, free: 12.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/0.3598, allocations: 408.7 kB / 0.5221 GB, free: 12.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.3598, allocations: 2.312 kB / 0.5221 GB, free: 12.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006967/0.3605, allocations: 458.1 kB / 0.5225 GB, free: 11.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3606, allocations: 8.281 kB / 0.5225 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3606, allocations: 10.78 kB / 0.5225 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/0.3608, allocations: 50.62 kB / 0.5226 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.361, allocations: 85.09 kB / 0.5227 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.3624, allocations: 1.605 MB / 0.5242 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.3626, allocations: 14.61 kB / 0.5242 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.3626, allocations: 21.16 kB / 0.5243 GB, free: 10.41 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.0002199/0.3629, allocations: 204.4 kB / 0.5245 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.769e-05/0.3629, allocations: 44.78 kB / 0.5245 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.3633, allocations: 242.7 kB / 0.5247 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3633, allocations: 6.453 kB / 0.5247 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3633, allocations: 0.7031 kB / 0.5247 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.3635, allocations: 120.1 kB / 0.5249 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.3635, allocations: 5.125 kB / 0.5249 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.3637, allocations: 5.891 kB / 0.5249 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.3637, allocations: 15.52 kB / 0.5249 GB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005503/0.3643, allocations: 391.8 kB / 0.5253 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005508/0.3648, allocations: 0.5607 MB / 0.5258 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001242/0.365, allocations: 83.05 kB / 0.5259 GB, free: 9.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002767/0.3653, allocations: 263 kB / 0.5261 GB, free: 9.164 MB / 398.1 MB Notification: Performance of Backend: time 8.62e-07/0.3653, allocations: 4 kB / 0.5261 GB, free: 9.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009148/0.3662, allocations: 395 kB / 0.5265 GB, free: 8.91 MB / 398.1 MB Notification: Performance of SimCode: time 0.001711/0.3679, allocations: 1.314 MB / 0.5278 GB, free: 7.957 MB / 398.1 MB Notification: Performance of Templates: time 0.01022/0.3781, allocations: 3.985 MB / 0.5317 GB, free: 7.18 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","/var/lib/jenkins1/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