Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",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.001806/0.001806, allocations: 109.2 kB / 17.06 MB, free: 5.828 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.002007/0.002007, allocations: 195.9 kB / 18 MB, free: 4.965 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.42/1.42, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1801/0.1801, allocations: 38.03 MB / 329.9 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.88 kB / 457.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3312, allocations: 58.05 MB / 0.5036 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.005301/0.3366, allocations: 4.56 MB / 0.5081 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.339, allocations: 1.548 MB / 0.5096 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.3393, allocations: 17.34 kB / 0.5096 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009015/0.3402, allocations: 293 kB / 0.5099 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005782/0.3407, allocations: 268.6 kB / 0.5101 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006872/0.3414, allocations: 251.1 kB / 0.5104 GB, free: 2.809 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006283/0.3421, allocations: 0.6208 MB / 0.511 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.3425, allocations: 255.2 kB / 0.5112 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.3428, allocations: 261.4 kB / 0.5115 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004572/0.3433, allocations: 333.5 kB / 0.5118 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.992e-05/0.3434, allocations: 34.66 kB / 0.5118 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.3437, allocations: 142.7 kB / 0.512 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.344, allocations: 220.1 kB / 0.5122 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.3442, allocations: 247.3 kB / 0.5124 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000801/0.345, allocations: 0.5991 MB / 0.513 GB, free: 1.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.345, allocations: 0 / 0.513 GB, free: 1.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.345, allocations: 1.156 kB / 0.513 GB, free: 1.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.345, allocations: 3.938 kB / 0.513 GB, free: 1.711 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001309/0.3464, allocations: 0.7808 MB / 0.5138 GB, free: 1.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3464, allocations: 13.14 kB / 0.5138 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.571e-05/0.3465, allocations: 88.34 kB / 0.5138 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005904/0.3471, allocations: 89.78 kB / 0.5139 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006157/0.3477, allocations: 424.1 kB / 0.5143 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.3478, allocations: 32.61 kB / 0.5144 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.3479, allocations: 50.22 kB / 0.5144 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000945/0.3489, allocations: 0.6639 MB / 0.5151 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.3489, allocations: 5.25 kB / 0.5151 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.349, allocations: 21.39 kB / 0.5151 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/0.3491, allocations: 48.11 kB / 0.5151 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008372/0.35, allocations: 493.2 kB / 0.5156 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00401/0.354, allocations: 3.151 MB / 0.5187 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005011/0.3545, allocations: 244.7 kB / 0.5189 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.3547, allocations: 125.5 kB / 0.519 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.3548, allocations: 11.25 kB / 0.519 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.3548, allocations: 41.73 kB / 0.5191 GB, free: 13.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.194e-06/0.3548, allocations: 0 / 0.5191 GB, free: 13.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001568/0.3564, allocations: 0.8953 MB / 0.52 GB, free: 12.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/0.3565, allocations: 79.36 kB / 0.52 GB, free: 12.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.3569, allocations: 330 kB / 0.5204 GB, free: 12.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.3569, allocations: 34.92 kB / 0.5204 GB, free: 12.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.3571, allocations: 303.3 kB / 0.5207 GB, free: 12.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.867e-05/0.3572, allocations: 95.42 kB / 0.5208 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.3574, allocations: 89.62 kB / 0.5209 GB, free: 12.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.3576, allocations: 351.2 kB / 0.5212 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.3578, allocations: 129.2 kB / 0.5213 GB, free: 11.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.3581, allocations: 322.2 kB / 0.5216 GB, free: 11.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006254/0.3588, allocations: 499.9 kB / 0.5221 GB, free: 11.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3588, allocations: 1.188 kB / 0.5221 GB, free: 11.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00106/0.3598, allocations: 0.5939 MB / 0.5227 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3599, allocations: 10.91 kB / 0.5227 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006164/0.3605, allocations: 332.5 kB / 0.523 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004285/0.3609, allocations: 112.7 kB / 0.5231 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.3612, allocations: 94.06 kB / 0.5232 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/0.3644, allocations: 3.288 MB / 0.5264 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.3647, allocations: 15.88 kB / 0.5264 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.3647, allocations: 23.86 kB / 0.5264 GB, free: 7.688 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003066/0.3651, allocations: 210.9 kB / 0.5267 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.3651, allocations: 34.95 kB / 0.5267 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005618/0.3657, allocations: 325.4 kB / 0.527 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3657, allocations: 3.188 kB / 0.527 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3657, allocations: 3.938 kB / 0.527 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3657, allocations: 2.5 kB / 0.527 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.3669, allocations: 0.8016 MB / 0.5278 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3669, allocations: 0 / 0.5278 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/0.3672, allocations: 67.12 kB / 0.5279 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3672, allocations: 2.281 kB / 0.5279 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.3672, allocations: 7.641 kB / 0.5279 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3673, allocations: 3.141 kB / 0.5279 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3673, allocations: 1.375 kB / 0.5279 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006542/0.3679, allocations: 0.5081 MB / 0.5284 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.3681, allocations: 130.1 kB / 0.5285 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.3681, allocations: 7.875 kB / 0.5285 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.3683, allocations: 15.08 kB / 0.5285 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.3683, allocations: 14.69 kB / 0.5285 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.3684, allocations: 10.03 kB / 0.5285 GB, free: 6.422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002276/0.3686, allocations: 222 kB / 0.5287 GB, free: 6.305 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3686, allocations: 0 / 0.5287 GB, free: 6.305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004818/0.3691, allocations: 98.91 kB / 0.5288 GB, free: 6.293 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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.001024/0.3701, allocations: 1.056 MB / 0.5299 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009495/0.3711, allocations: 0.5896 MB / 0.5304 GB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3711, allocations: 0 / 0.5304 GB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.3713, allocations: 136.9 kB / 0.5306 GB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.3718, allocations: 65.19 kB / 0.5306 GB, free: 5.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005293/0.3771, allocations: 4.071 MB / 0.5346 GB, free: 2.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000599/0.3777, allocations: 0.8703 MB / 0.5355 GB, free: 1.586 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002998/0.378, allocations: 111.9 kB / 0.5356 GB, free: 1.574 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.3783, allocations: 145.7 kB / 0.5357 GB, free: 1.469 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3783, allocations: 0 / 0.5357 GB, free: 1.469 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03501/0.4133, allocations: 7.623 MB / 0.5432 GB, free: 14.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.923/10.34, allocations: 8.594 kB / 0.5432 GB, free: 14.01 MB / 414.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)