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.001034/0.001034, allocations: 105.6 kB / 17.06 MB, free: 6.027 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.001874/0.001874, allocations: 195 kB / 18 MB, free: 5.105 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.414/1.414, allocations: 222.9 MB / 241.7 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.1766/0.1766, allocations: 38.04 MB / 329.9 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 67.89 kB / 457.7 MB, free: 7.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3213, allocations: 58.04 MB / 0.5036 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004979/0.3263, allocations: 4.583 MB / 0.5081 GB, free: 4.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.3283, allocations: 1.469 MB / 0.5095 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.3285, allocations: 12.66 kB / 0.5095 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.3295, allocations: 380.8 kB / 0.5099 GB, free: 3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004511/0.33, allocations: 241.5 kB / 0.5101 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.3306, allocations: 248.5 kB / 0.5104 GB, free: 2.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005416/0.3311, allocations: 0.559 MB / 0.5109 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004467/0.3316, allocations: 334.3 kB / 0.5112 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003336/0.3319, allocations: 266 kB / 0.5115 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004375/0.3324, allocations: 312.4 kB / 0.5118 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.541e-05/0.3324, allocations: 34.38 kB / 0.5118 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.3327, allocations: 142.1 kB / 0.5119 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.3329, allocations: 225.1 kB / 0.5122 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.3331, allocations: 250.6 kB / 0.5124 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006552/0.3338, allocations: 0.6017 MB / 0.513 GB, free: 1.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3338, allocations: 0 / 0.513 GB, free: 1.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3338, allocations: 4 kB / 0.513 GB, free: 1.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.3339, allocations: 1.094 kB / 0.513 GB, free: 1.672 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.001153/0.335, allocations: 0.7761 MB / 0.5138 GB, free: 1.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3351, allocations: 13.39 kB / 0.5138 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.751e-05/0.3352, allocations: 87.39 kB / 0.5138 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005679/0.3357, allocations: 87.55 kB / 0.5139 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006303/0.3364, allocations: 423.1 kB / 0.5143 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.3364, allocations: 37.91 kB / 0.5144 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.3365, allocations: 52.2 kB / 0.5144 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008219/0.3374, allocations: 0.6495 MB / 0.5151 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.3374, allocations: 0.75 kB / 0.5151 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.3375, allocations: 22.52 kB / 0.5151 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.3376, allocations: 28.66 kB / 0.5151 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006892/0.3383, allocations: 488.4 kB / 0.5156 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003475/0.3418, allocations: 3.001 MB / 0.5185 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.3421, allocations: 185.6 kB / 0.5187 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.3422, allocations: 102.3 kB / 0.5188 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.3423, allocations: 7.016 kB / 0.5188 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3423, allocations: 37.45 kB / 0.5188 GB, free: 13.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.704e-06/0.3423, allocations: 0 / 0.5188 GB, free: 13.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001347/0.3437, allocations: 0.8481 MB / 0.5196 GB, free: 12.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.3437, allocations: 79.39 kB / 0.5197 GB, free: 12.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.3441, allocations: 348.9 kB / 0.5201 GB, free: 12.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.3441, allocations: 34.78 kB / 0.5201 GB, free: 12.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.3443, allocations: 293.2 kB / 0.5204 GB, free: 12.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.521e-05/0.3444, allocations: 84.77 kB / 0.5205 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.3445, allocations: 85.05 kB / 0.5205 GB, free: 12.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3447, allocations: 347.4 kB / 0.5209 GB, free: 12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.3449, allocations: 130.2 kB / 0.521 GB, free: 11.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.3452, allocations: 327.8 kB / 0.5213 GB, free: 11.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.3458, allocations: 0.4902 MB / 0.5218 GB, free: 11.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3458, allocations: 6 kB / 0.5218 GB, free: 11.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009621/0.3468, allocations: 0.5561 MB / 0.5223 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3468, allocations: 8.312 kB / 0.5223 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004917/0.3473, allocations: 286.4 kB / 0.5226 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003195/0.3476, allocations: 79.39 kB / 0.5227 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.348, allocations: 95.84 kB / 0.5228 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.3496, allocations: 1.724 MB / 0.5245 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.3498, allocations: 23.48 kB / 0.5245 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.3499, allocations: 20.33 kB / 0.5245 GB, free: 9.359 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.0002366/0.3501, allocations: 221.8 kB / 0.5247 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.3502, allocations: 30.75 kB / 0.5247 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.3507, allocations: 292.5 kB / 0.525 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3507, allocations: 3.344 kB / 0.525 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.3507, allocations: 1.312 kB / 0.525 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3507, allocations: 1.547 kB / 0.525 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.352, allocations: 0.7908 MB / 0.5258 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.352, allocations: 1.797 kB / 0.5258 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.3523, allocations: 54.27 kB / 0.5259 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3523, allocations: 2.047 kB / 0.5259 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.3523, allocations: 8.656 kB / 0.5259 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3523, allocations: 1.812 kB / 0.5259 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3524, allocations: 10.02 kB / 0.5259 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.3529, allocations: 481.5 kB / 0.5263 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-05/0.353, allocations: 107.4 kB / 0.5264 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.3531, allocations: 12.23 kB / 0.5264 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.3532, allocations: 6.172 kB / 0.5265 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.3533, allocations: 22.06 kB / 0.5265 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.3533, allocations: 9.609 kB / 0.5265 GB, free: 8.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002377/0.3536, allocations: 235.3 kB / 0.5267 GB, free: 8.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3536, allocations: 0 / 0.5267 GB, free: 8.008 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004716/0.354, allocations: 94.34 kB / 0.5268 GB, free: 8 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.0008115/0.3549, allocations: 1.017 MB / 0.5278 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000707/0.3556, allocations: 447.3 kB / 0.5282 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3556, allocations: 1.156 kB / 0.5282 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.3558, allocations: 112 kB / 0.5283 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.3562, allocations: 67.19 kB / 0.5284 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/0.3612, allocations: 3.972 MB / 0.5323 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/0.3617, allocations: 0.8723 MB / 0.5331 GB, free: 3.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002827/0.362, allocations: 116.1 kB / 0.5332 GB, free: 3.477 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.3622, allocations: 146.5 kB / 0.5334 GB, free: 3.367 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3622, allocations: 0 / 0.5334 GB, free: 3.367 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04115/0.4034, allocations: 7.535 MB / 0.5407 GB, free: 176 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.894/10.3, allocations: 11.66 kB / 0.5407 GB, free: 168 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