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.001272/0.001272, allocations: 111.6 kB / 17.06 MB, free: 6.102 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.001312/0.001312, allocations: 199 kB / 18 MB, free: 5.18 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.373/1.373, 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.1842/0.1842, allocations: 38.05 MB / 329.9 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.91 kB / 457.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3329, allocations: 58.06 MB / 0.5036 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005695/0.3386, allocations: 4.576 MB / 0.5081 GB, free: 4.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.341, allocations: 1.463 MB / 0.5095 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.3413, allocations: 16.44 kB / 0.5095 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.3423, allocations: 378 kB / 0.5099 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005213/0.3429, allocations: 237.2 kB / 0.5101 GB, free: 2.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007091/0.3436, allocations: 253.6 kB / 0.5104 GB, free: 2.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006058/0.3442, allocations: 0.5583 MB / 0.5109 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004706/0.3447, allocations: 332.4 kB / 0.5112 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003796/0.3451, allocations: 262.8 kB / 0.5115 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000474/0.3456, allocations: 315.4 kB / 0.5118 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.265e-05/0.3456, allocations: 38.12 kB / 0.5118 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.3459, allocations: 145.8 kB / 0.512 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002688/0.3462, allocations: 222.9 kB / 0.5122 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.3465, allocations: 252.4 kB / 0.5124 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007413/0.3472, allocations: 0.6029 MB / 0.513 GB, free: 1.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3473, allocations: 0 / 0.513 GB, free: 1.773 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3473, allocations: 0 / 0.513 GB, free: 1.773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.3473, allocations: 1.062 kB / 0.513 GB, free: 1.773 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.001253/0.3485, allocations: 0.7794 MB / 0.5138 GB, free: 1.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3486, allocations: 13.73 kB / 0.5138 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.3487, allocations: 87.16 kB / 0.5139 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005977/0.3493, allocations: 88.62 kB / 0.5139 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006138/0.3499, allocations: 418 kB / 0.5143 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.35, allocations: 34.17 kB / 0.5144 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.3501, allocations: 59.44 kB / 0.5144 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008926/0.351, allocations: 0.6421 MB / 0.5151 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.3511, allocations: 9.438 kB / 0.5151 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.674e-05/0.3511, allocations: 17.72 kB / 0.5151 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.3512, allocations: 32.88 kB / 0.5151 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007528/0.352, allocations: 481.6 kB / 0.5156 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003681/0.3557, allocations: 3.007 MB / 0.5185 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.356, allocations: 182.4 kB / 0.5187 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.3562, allocations: 103.2 kB / 0.5188 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.3562, allocations: 2.375 kB / 0.5188 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.3562, allocations: 41.78 kB / 0.5188 GB, free: 13.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.3563, allocations: 0 / 0.5188 GB, free: 13.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001415/0.3577, allocations: 0.8425 MB / 0.5196 GB, free: 13.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.3577, allocations: 80.16 kB / 0.5197 GB, free: 13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.3582, allocations: 349.7 kB / 0.5201 GB, free: 12.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.3582, allocations: 31.02 kB / 0.5201 GB, free: 12.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.3584, allocations: 300.5 kB / 0.5204 GB, free: 12.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.503e-05/0.3585, allocations: 80.2 kB / 0.5204 GB, free: 12.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.3586, allocations: 85.31 kB / 0.5205 GB, free: 12.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3588, allocations: 348.8 kB / 0.5209 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.359, allocations: 125 kB / 0.521 GB, free: 12.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.3594, allocations: 333.3 kB / 0.5213 GB, free: 11.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006067/0.36, allocations: 0.4951 MB / 0.5218 GB, free: 11.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.36, allocations: 6.125 kB / 0.5218 GB, free: 11.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001111/0.3611, allocations: 0.5493 MB / 0.5223 GB, free: 11.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3612, allocations: 8.266 kB / 0.5223 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005855/0.3618, allocations: 285.9 kB / 0.5226 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003547/0.3621, allocations: 84.41 kB / 0.5227 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.3625, allocations: 96.86 kB / 0.5228 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.3642, allocations: 1.734 MB / 0.5245 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.3644, allocations: 15.55 kB / 0.5245 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.3645, allocations: 24.56 kB / 0.5245 GB, free: 9.453 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.0002519/0.3647, allocations: 217.6 kB / 0.5247 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.3648, allocations: 34.67 kB / 0.5248 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005209/0.3653, allocations: 288.8 kB / 0.525 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3654, allocations: 3.156 kB / 0.525 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.3654, allocations: 1.344 kB / 0.525 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3654, allocations: 1.125 kB / 0.525 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.3667, allocations: 0.7889 MB / 0.5258 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3667, allocations: 0 / 0.5258 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.367, allocations: 55.33 kB / 0.5259 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.367, allocations: 1.375 kB / 0.5259 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.367, allocations: 9.672 kB / 0.5259 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.367, allocations: 0.9688 kB / 0.5259 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.3671, allocations: 6.562 kB / 0.5259 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006037/0.3677, allocations: 477.8 kB / 0.5263 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.77e-05/0.3678, allocations: 107.3 kB / 0.5264 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.3678, allocations: 7.875 kB / 0.5264 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.368, allocations: 11.48 kB / 0.5264 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.368, allocations: 19.73 kB / 0.5265 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.3681, allocations: 6.609 kB / 0.5265 GB, free: 8.238 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002611/0.3683, allocations: 240 kB / 0.5267 GB, free: 8.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3683, allocations: 0 / 0.5267 GB, free: 8.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004925/0.3688, allocations: 93 kB / 0.5268 GB, free: 8.105 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.0008614/0.3697, allocations: 1.023 MB / 0.5278 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007269/0.3704, allocations: 439.6 kB / 0.5282 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3705, allocations: 5.094 kB / 0.5282 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.3706, allocations: 119.3 kB / 0.5283 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.3712, allocations: 71.73 kB / 0.5284 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.376, allocations: 3.976 MB / 0.5323 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.3765, allocations: 0.8597 MB / 0.5331 GB, free: 3.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002814/0.3768, allocations: 115 kB / 0.5332 GB, free: 3.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.377, allocations: 146.3 kB / 0.5334 GB, free: 3.473 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.377, allocations: 0 / 0.5334 GB, free: 3.473 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.4076, allocations: 7.546 MB / 0.5407 GB, free: 128 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.627/10.03, allocations: 8.234 kB / 0.5407 GB, free: 124 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