Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",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.001647/0.001647, allocations: 110.1 kB / 17.06 MB, free: 6.02 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.001763/0.001763, allocations: 189.4 kB / 18 MB, free: 5.102 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.405/1.405, 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/package.mo): time 0.1752/0.1752, allocations: 38.03 MB / 329.9 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001963, allocations: 63.89 kB / 457.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.328, allocations: 58.05 MB / 0.5036 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005218/0.3332, allocations: 4.43 MB / 0.5079 GB, free: 4.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.3352, allocations: 1.414 MB / 0.5093 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.3354, allocations: 17.38 kB / 0.5093 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009606/0.3364, allocations: 371.6 kB / 0.5097 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004985/0.3369, allocations: 261.2 kB / 0.5099 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005937/0.3375, allocations: 235 kB / 0.5101 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005367/0.338, allocations: 0.5578 MB / 0.5107 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003882/0.3384, allocations: 285.6 kB / 0.511 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.3387, allocations: 264.7 kB / 0.5112 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000467/0.3392, allocations: 356.4 kB / 0.5116 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.554e-05/0.3393, allocations: 38.84 kB / 0.5116 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.3397, allocations: 220 kB / 0.5118 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.34, allocations: 237.6 kB / 0.512 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.3402, allocations: 257.8 kB / 0.5123 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007327/0.3409, allocations: 0.6757 MB / 0.5129 GB, free: 1.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3409, allocations: 4 kB / 0.5129 GB, free: 1.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3409, allocations: 1.031 kB / 0.5129 GB, free: 1.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.455e-06/0.341, allocations: 0 / 0.5129 GB, free: 1.887 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001189/0.3422, allocations: 0.7832 MB / 0.5137 GB, free: 1.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3422, allocations: 13.89 kB / 0.5137 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.169e-05/0.3423, allocations: 87.73 kB / 0.5138 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005723/0.3429, allocations: 96.69 kB / 0.5139 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000583/0.3435, allocations: 429.2 kB / 0.5143 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.3435, allocations: 28.95 kB / 0.5143 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.3436, allocations: 52.66 kB / 0.5144 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008992/0.3446, allocations: 0.6787 MB / 0.515 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.3446, allocations: 0.9375 kB / 0.515 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/0.3446, allocations: 16.7 kB / 0.5151 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001684/0.3448, allocations: 51.5 kB / 0.5151 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.3458, allocations: 0.6745 MB / 0.5158 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003496/0.3493, allocations: 2.428 MB / 0.5181 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.3499, allocations: 362.5 kB / 0.5185 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.3503, allocations: 247.9 kB / 0.5187 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-05/0.3503, allocations: 18.7 kB / 0.5187 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.3504, allocations: 37.19 kB / 0.5188 GB, free: 14.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.384e-06/0.3504, allocations: 0 / 0.5188 GB, free: 14.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002392/0.3528, allocations: 1.475 MB / 0.5202 GB, free: 13.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.3529, allocations: 85.8 kB / 0.5203 GB, free: 13.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.3532, allocations: 291.4 kB / 0.5206 GB, free: 13.4 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.3532, allocations: 30.8 kB / 0.5206 GB, free: 13.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.3534, allocations: 254.8 kB / 0.5208 GB, free: 13.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.3536, allocations: 165.8 kB / 0.521 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.3537, allocations: 95.55 kB / 0.5211 GB, free: 12.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3539, allocations: 349.8 kB / 0.5214 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.3542, allocations: 216.4 kB / 0.5216 GB, free: 12.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/0.3547, allocations: 362 kB / 0.522 GB, free: 12.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008614/0.3555, allocations: 0.633 MB / 0.5226 GB, free: 11.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3556, allocations: 1.5 kB / 0.5226 GB, free: 11.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001289/0.3568, allocations: 0.731 MB / 0.5233 GB, free: 11.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3569, allocations: 7.812 kB / 0.5233 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009218/0.3578, allocations: 0.5208 MB / 0.5238 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/0.3581, allocations: 69.27 kB / 0.5239 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.3585, allocations: 110.2 kB / 0.524 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.3604, allocations: 1.732 MB / 0.5257 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.3607, allocations: 34.14 kB / 0.5257 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.3607, allocations: 21.48 kB / 0.5257 GB, free: 9.938 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * 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.0003004/0.361, allocations: 215.1 kB / 0.526 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.784e-05/0.3612, allocations: 40.62 kB / 0.526 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009286/0.3621, allocations: 0.5617 MB / 0.5265 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.3621, allocations: 16.14 kB / 0.5266 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.3621, allocations: 0 / 0.5266 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.3621, allocations: 3.922 kB / 0.5266 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.3641, allocations: 1.189 MB / 0.5277 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3641, allocations: 2.531 kB / 0.5277 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.3645, allocations: 83.48 kB / 0.5278 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3646, allocations: 7.672 kB / 0.5278 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.3646, allocations: 10.2 kB / 0.5278 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.3646, allocations: 4.328 kB / 0.5278 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3646, allocations: 0 / 0.5278 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.3659, allocations: 0.9335 MB / 0.5287 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.872e-05/0.366, allocations: 113 kB / 0.5288 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/0.366, allocations: 9.422 kB / 0.5289 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.3663, allocations: 18.38 kB / 0.5289 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.3663, allocations: 36.14 kB / 0.5289 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.3664, allocations: 10 kB / 0.5289 GB, free: 8.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.3666, allocations: 197.5 kB / 0.5291 GB, free: 8.203 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3666, allocations: 1.781 kB / 0.5291 GB, free: 8.203 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005457/0.3671, allocations: 123.8 kB / 0.5292 GB, free: 8.184 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (39): * Single equations (assignments): 36 * Array equations: 2 * 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.001712/0.3689, allocations: 1.516 MB / 0.5307 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.37, allocations: 0.6617 MB / 0.5313 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.37, allocations: 0 / 0.5313 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.3704, allocations: 270.6 kB / 0.5316 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.3709, allocations: 72.22 kB / 0.5317 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00658/0.3775, allocations: 4.582 MB / 0.5361 GB, free: 3.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.3781, allocations: 0.8772 MB / 0.537 GB, free: 3.074 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003429/0.3785, allocations: 125.8 kB / 0.5371 GB, free: 3.027 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.3787, allocations: 148.2 kB / 0.5373 GB, free: 2.906 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3787, allocations: 0 / 0.5373 GB, free: 2.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03607/0.4148, allocations: 8.622 MB / 0.5457 GB, free: 12.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.6, allocations: 10.34 kB / 0.5457 GB, free: 12.64 MB / 414.1 MB (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)