Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 110.9 kB / 17.75 MB, free: 5.309 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.001084/0.001084, allocations: 186.6 kB / 18.67 MB, free: 4.395 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.281/1.281, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1695/0.1695, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 458.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.301, allocations: 58.05 MB / 0.5048 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004776/0.3058, allocations: 4.57 MB / 0.5092 GB, free: 4.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.3078, allocations: 1.474 MB / 0.5107 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.308, allocations: 16.16 kB / 0.5107 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00093/0.3089, allocations: 376.6 kB / 0.511 GB, free: 3.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004394/0.3094, allocations: 238.5 kB / 0.5113 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005747/0.3099, allocations: 248.5 kB / 0.5115 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004968/0.3104, allocations: 0.5624 MB / 0.5121 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004128/0.3109, allocations: 332.3 kB / 0.5124 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.3112, allocations: 267.1 kB / 0.5126 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004599/0.3117, allocations: 315.4 kB / 0.5129 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.578e-05/0.3117, allocations: 38.81 kB / 0.513 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.3121, allocations: 145.5 kB / 0.5131 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.3123, allocations: 226.8 kB / 0.5133 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.3126, allocations: 248.7 kB / 0.5136 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007349/0.3133, allocations: 0.5977 MB / 0.5141 GB, free: 2.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3133, allocations: 1.812 kB / 0.5141 GB, free: 2.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3133, allocations: 0 / 0.5141 GB, free: 2.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3134, allocations: 0 / 0.5141 GB, free: 2.039 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001265/0.3146, allocations: 0.7701 MB / 0.5149 GB, free: 1.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.3147, allocations: 12.14 kB / 0.5149 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005875/0.3153, allocations: 100.3 kB / 0.515 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000619/0.3159, allocations: 419.2 kB / 0.5154 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.3159, allocations: 29.84 kB / 0.5154 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.3161, allocations: 51.67 kB / 0.5155 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008184/0.3169, allocations: 0.6521 MB / 0.5161 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.3169, allocations: 6.344 kB / 0.5161 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.317, allocations: 16.38 kB / 0.5161 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/0.3171, allocations: 32.83 kB / 0.5162 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008451/0.318, allocations: 480.8 kB / 0.5166 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003784/0.3218, allocations: 3.001 MB / 0.5196 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.3221, allocations: 189.3 kB / 0.5197 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.3223, allocations: 102.9 kB / 0.5198 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.3223, allocations: 12.25 kB / 0.5199 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.3223, allocations: 32.42 kB / 0.5199 GB, free: 13.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.3224, allocations: 0 / 0.5199 GB, free: 13.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.00141/0.3238, allocations: 0.8509 MB / 0.5207 GB, free: 13.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.3238, allocations: 79.92 kB / 0.5208 GB, free: 13.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.3242, allocations: 349.1 kB / 0.5211 GB, free: 13.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.3242, allocations: 30.92 kB / 0.5212 GB, free: 13.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.3244, allocations: 293.1 kB / 0.5214 GB, free: 12.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.207e-05/0.3245, allocations: 84.5 kB / 0.5215 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.3246, allocations: 89.59 kB / 0.5216 GB, free: 12.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3248, allocations: 346.3 kB / 0.5219 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.325, allocations: 124.9 kB / 0.5221 GB, free: 12.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/0.3254, allocations: 326 kB / 0.5224 GB, free: 12.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005632/0.326, allocations: 0.4974 MB / 0.5228 GB, free: 11.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.326, allocations: 6.281 kB / 0.5229 GB, free: 11.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009782/0.3269, allocations: 0.5559 MB / 0.5234 GB, free: 11.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.327, allocations: 8.953 kB / 0.5234 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005188/0.3275, allocations: 275.4 kB / 0.5237 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/0.3279, allocations: 84.47 kB / 0.5237 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.3282, allocations: 97.08 kB / 0.5238 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.3299, allocations: 1.726 MB / 0.5255 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.3301, allocations: 25.25 kB / 0.5256 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.3302, allocations: 22.48 kB / 0.5256 GB, free: 9.789 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * 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 initialization (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002148/0.3304, allocations: 214.1 kB / 0.5258 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.3305, allocations: 30.75 kB / 0.5258 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000461/0.3309, allocations: 289.9 kB / 0.5261 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3309, allocations: 5.172 kB / 0.5261 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.3309, allocations: 2.031 kB / 0.5261 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-05/0.331, allocations: 102.2 kB / 0.5262 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.3311, allocations: 7.547 kB / 0.5262 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.3312, allocations: 14.45 kB / 0.5262 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.3313, allocations: 16.2 kB / 0.5262 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006873/0.332, allocations: 462 kB / 0.5267 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006208/0.3326, allocations: 0.6169 MB / 0.5273 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001656/0.3328, allocations: 121.9 kB / 0.5274 GB, free: 8.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002235/0.333, allocations: 235.4 kB / 0.5276 GB, free: 8.523 MB / 398.1 MB Notification: Performance of Backend: time 5.21e-07/0.333, allocations: 0 / 0.5276 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.3342, allocations: 0.4935 MB / 0.5281 GB, free: 8.25 MB / 398.1 MB Notification: Performance of SimCode: time 0.001643/0.3358, allocations: 1.392 MB / 0.5294 GB, free: 7.238 MB / 398.1 MB Notification: Performance of Templates: time 0.009986/0.3458, allocations: 4.712 MB / 0.5341 GB, free: 5.688 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches