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.001549/0.001549, allocations: 108.1 kB / 17.74 MB, free: 5.359 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.001744/0.001744, allocations: 185.4 kB / 18.67 MB, free: 4.438 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.341/1.341, 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.1759/0.1759, allocations: 38.05 MB / 330.6 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 67.89 kB / 458.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3064, allocations: 58.05 MB / 0.5048 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.005657/0.3121, allocations: 5.498 MB / 0.5101 GB, free: 4.012 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.3139, allocations: 1.298 MB / 0.5114 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.3141, allocations: 18.31 kB / 0.5114 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.3146, allocations: 141.9 kB / 0.5116 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007425/0.3153, allocations: 374.1 kB / 0.5119 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.3156, allocations: 136.7 kB / 0.512 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.3167, allocations: 0.7547 MB / 0.5128 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003736/0.3171, allocations: 204.7 kB / 0.513 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007997/0.3179, allocations: 342.9 kB / 0.5133 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009287/0.3188, allocations: 384.7 kB / 0.5137 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.335e-05/0.3189, allocations: 37.03 kB / 0.5137 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.3191, allocations: 35.84 kB / 0.5137 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000312/0.3194, allocations: 194.3 kB / 0.5139 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.3198, allocations: 254.6 kB / 0.5142 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.3208, allocations: 0.5236 MB / 0.5147 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3209, allocations: 0 / 0.5147 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.3209, allocations: 1.062 kB / 0.5147 GB, free: 1.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.3209, allocations: 0 / 0.5147 GB, free: 1.602 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.001448/0.3223, allocations: 0.8101 MB / 0.5155 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3224, allocations: 9.438 kB / 0.5155 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.3225, allocations: 54.12 kB / 0.5155 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006768/0.3232, allocations: 487 kB / 0.516 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.3232, allocations: 37.5 kB / 0.516 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/0.3233, allocations: 37.59 kB / 0.5161 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008558/0.3242, allocations: 0.4912 MB / 0.5166 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.3242, allocations: 2 kB / 0.5166 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.176e-05/0.3242, allocations: 20.12 kB / 0.5166 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.071e-05/0.3243, allocations: 23.7 kB / 0.5166 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008376/0.3251, allocations: 365.2 kB / 0.5169 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002758/0.3279, allocations: 2.08 MB / 0.519 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.3283, allocations: 232.1 kB / 0.5192 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.3286, allocations: 133.5 kB / 0.5193 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.3286, allocations: 3.5 kB / 0.5193 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.3287, allocations: 36.81 kB / 0.5194 GB, free: 14.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.933e-06/0.3287, allocations: 0 / 0.5194 GB, free: 14.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001271/0.3299, allocations: 0.7541 MB / 0.5201 GB, free: 13.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.33, allocations: 92.27 kB / 0.5202 GB, free: 13.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.3304, allocations: 380 kB / 0.5205 GB, free: 13.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.3305, allocations: 30.7 kB / 0.5206 GB, free: 13.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.3307, allocations: 292.3 kB / 0.5209 GB, free: 13.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/0.3308, allocations: 80.89 kB / 0.5209 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.3309, allocations: 83.05 kB / 0.521 GB, free: 13.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.331, allocations: 349.2 kB / 0.5213 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.3312, allocations: 90.09 kB / 0.5214 GB, free: 12.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.3315, allocations: 274.6 kB / 0.5217 GB, free: 12.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.3319, allocations: 406 kB / 0.5221 GB, free: 12.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3319, allocations: 2.188 kB / 0.5221 GB, free: 12.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007132/0.3327, allocations: 451.5 kB / 0.5225 GB, free: 12.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3327, allocations: 7.312 kB / 0.5225 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.3327, allocations: 11.16 kB / 0.5225 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/0.3329, allocations: 52.03 kB / 0.5226 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.3332, allocations: 88.12 kB / 0.5227 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.3345, allocations: 1.617 MB / 0.5242 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.3347, allocations: 12.88 kB / 0.5243 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.3347, allocations: 22.69 kB / 0.5243 GB, free: 10.48 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.0002112/0.3349, allocations: 203.1 kB / 0.5245 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.335, allocations: 37.61 kB / 0.5245 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/0.3354, allocations: 245.8 kB / 0.5247 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3354, allocations: 2.078 kB / 0.5247 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3354, allocations: 4.75 kB / 0.5247 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.3355, allocations: 120.7 kB / 0.5249 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.3356, allocations: 6.109 kB / 0.5249 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.3357, allocations: 4.359 kB / 0.5249 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.3358, allocations: 15.09 kB / 0.5249 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004939/0.3363, allocations: 390.3 kB / 0.5253 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000523/0.3368, allocations: 0.567 MB / 0.5258 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001129/0.3369, allocations: 82.61 kB / 0.5259 GB, free: 9.363 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002527/0.3372, allocations: 259.5 kB / 0.5261 GB, free: 9.238 MB / 398.1 MB Notification: Performance of Backend: time 3.31e-07/0.3372, allocations: 0 / 0.5261 GB, free: 9.238 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000848/0.338, allocations: 405.2 kB / 0.5265 GB, free: 8.977 MB / 398.1 MB Notification: Performance of SimCode: time 0.001579/0.3396, allocations: 1.302 MB / 0.5278 GB, free: 8.035 MB / 398.1 MB Notification: Performance of Templates: time 0.008063/0.3477, allocations: 3.991 MB / 0.5317 GB, free: 7.176 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