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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 112.6 kB / 17.07 MB, free: 5.977 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.001277/0.001277, allocations: 193.4 kB / 18 MB, free: 5.066 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.416/1.416, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1897/0.1897, allocations: 38.05 MB / 329.9 MB, free: 8.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003064/0.003064, allocations: 71.83 kB / 457.7 MB, free: 7.328 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3464, allocations: 58.06 MB / 0.5036 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004991/0.3514, allocations: 4.576 MB / 0.5081 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.3535, allocations: 1.467 MB / 0.5095 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.3537, allocations: 12.56 kB / 0.5095 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009653/0.3547, allocations: 380.9 kB / 0.5099 GB, free: 3.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004789/0.3552, allocations: 237.7 kB / 0.5101 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006509/0.3558, allocations: 248.7 kB / 0.5104 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005563/0.3564, allocations: 0.5588 MB / 0.5109 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004431/0.3569, allocations: 334.8 kB / 0.5112 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.3572, allocations: 256.8 kB / 0.5115 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004903/0.3577, allocations: 319.1 kB / 0.5118 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.347e-05/0.3578, allocations: 34.66 kB / 0.5118 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.3581, allocations: 137.4 kB / 0.5119 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.3583, allocations: 229.8 kB / 0.5122 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.3585, allocations: 250 kB / 0.5124 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007429/0.3593, allocations: 0.597 MB / 0.513 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3593, allocations: 4.906 kB / 0.513 GB, free: 1.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3593, allocations: 0 / 0.513 GB, free: 1.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.3593, allocations: 0 / 0.513 GB, free: 1.691 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.001275/0.3606, allocations: 0.7824 MB / 0.5138 GB, free: 1.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3607, allocations: 12.98 kB / 0.5138 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.3608, allocations: 86.58 kB / 0.5139 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005791/0.3614, allocations: 99.88 kB / 0.5139 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/0.3619, allocations: 424.3 kB / 0.5144 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.362, allocations: 29.91 kB / 0.5144 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.3621, allocations: 55.12 kB / 0.5144 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009166/0.363, allocations: 0.6415 MB / 0.5151 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.363, allocations: 9.875 kB / 0.5151 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/0.3631, allocations: 18.56 kB / 0.5151 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.3632, allocations: 32.98 kB / 0.5151 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007671/0.364, allocations: 484.2 kB / 0.5156 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004147/0.3681, allocations: 3.013 MB / 0.5185 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.3685, allocations: 180.5 kB / 0.5187 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.3687, allocations: 113.9 kB / 0.5188 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.3687, allocations: 3.828 kB / 0.5188 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.3688, allocations: 36.91 kB / 0.5188 GB, free: 13.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.865e-06/0.3688, allocations: 0 / 0.5188 GB, free: 13.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001746/0.3706, allocations: 0.8486 MB / 0.5197 GB, free: 12.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/0.3706, allocations: 88.2 kB / 0.5198 GB, free: 12.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004721/0.3711, allocations: 348.5 kB / 0.5201 GB, free: 12.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.3712, allocations: 30.67 kB / 0.5201 GB, free: 12.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.3715, allocations: 311.7 kB / 0.5204 GB, free: 12.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.499e-05/0.3715, allocations: 80.78 kB / 0.5205 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.3717, allocations: 86.48 kB / 0.5206 GB, free: 12.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.3719, allocations: 342.7 kB / 0.5209 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.3721, allocations: 127.3 kB / 0.521 GB, free: 11.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.3726, allocations: 332.4 kB / 0.5213 GB, free: 11.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00069/0.3733, allocations: 0.4946 MB / 0.5218 GB, free: 11.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.3733, allocations: 6.25 kB / 0.5218 GB, free: 11.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001041/0.3743, allocations: 0.5562 MB / 0.5224 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.3744, allocations: 7.875 kB / 0.5224 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005325/0.3749, allocations: 281.3 kB / 0.5226 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003582/0.3753, allocations: 85.11 kB / 0.5227 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.3756, allocations: 96.47 kB / 0.5228 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.3775, allocations: 1.722 MB / 0.5245 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.3777, allocations: 19.73 kB / 0.5245 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.3778, allocations: 24.7 kB / 0.5245 GB, free: 9.336 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.0003026/0.3781, allocations: 222.5 kB / 0.5248 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/0.3782, allocations: 29.81 kB / 0.5248 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005129/0.3787, allocations: 297.2 kB / 0.5251 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3787, allocations: 2.469 kB / 0.5251 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3787, allocations: 1.922 kB / 0.5251 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3787, allocations: 1.219 kB / 0.5251 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.38, allocations: 0.7915 MB / 0.5258 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3801, allocations: 2.078 kB / 0.5258 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.3803, allocations: 57.89 kB / 0.5259 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3804, allocations: 2.25 kB / 0.5259 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.3804, allocations: 8.406 kB / 0.5259 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3804, allocations: 6.656 kB / 0.5259 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.3804, allocations: 5.281 kB / 0.5259 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006213/0.381, allocations: 485.8 kB / 0.5264 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.158e-05/0.3811, allocations: 107.1 kB / 0.5265 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.3812, allocations: 11.8 kB / 0.5265 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.3814, allocations: 11.88 kB / 0.5265 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.3814, allocations: 16.56 kB / 0.5265 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.3814, allocations: 9.75 kB / 0.5265 GB, free: 8.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000265/0.3817, allocations: 232 kB / 0.5268 GB, free: 7.977 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3817, allocations: 0 / 0.5268 GB, free: 7.977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000503/0.3822, allocations: 97.72 kB / 0.5269 GB, free: 7.965 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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.0009417/0.3832, allocations: 1.01 MB / 0.5278 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007603/0.3839, allocations: 450.9 kB / 0.5283 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.384, allocations: 1.125 kB / 0.5283 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.3841, allocations: 110.1 kB / 0.5284 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.3846, allocations: 75.61 kB / 0.5284 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005211/0.3898, allocations: 3.992 MB / 0.5323 GB, free: 4.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.3905, allocations: 0.8687 MB / 0.5332 GB, free: 3.441 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002885/0.3908, allocations: 111.2 kB / 0.5333 GB, free: 3.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.391, allocations: 150.5 kB / 0.5334 GB, free: 3.316 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.391, allocations: 0 / 0.5334 GB, free: 3.316 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/0.4258, allocations: 7.418 MB / 0.5407 GB, free: 204 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.57, allocations: 12.05 kB / 0.5407 GB, free: 196 kB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > 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