Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001053/0.001053, allocations: 180 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.274/1.274, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001596/0.001596, allocations: 111.2 kB / 256.9 MB, free: 4.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.159/0.159, allocations: 38.01 MB / 340.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 12 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07784/0.07818, allocations: 53.23 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2937/0.3719, allocations: 96.39 MB / 0.5405 GB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.3722, allocations: 94.44 kB / 0.5406 GB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03925/0.4114, allocations: 15.1 MB / 0.5554 GB, free: 1.922 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4115, allocations: 0 / 0.5554 GB, free: 1.922 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.573e-05/0.4115, allocations: 8 kB / 0.5554 GB, free: 1.914 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001356/0.4128, allocations: 0.724 MB / 0.5561 GB, free: 1.172 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.4129, allocations: 16.02 kB / 0.5561 GB, free: 1.156 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.413, allocations: 89.7 kB / 0.5562 GB, free: 1.086 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005497/0.4136, allocations: 91.28 kB / 0.5563 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.4156, allocations: 0.8678 MB / 0.5571 GB, free: 224 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.4156, allocations: 27.55 kB / 0.5571 GB, free: 208 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.301e-05/0.4157, allocations: 38.2 kB / 0.5572 GB, free: 180 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000885/0.4166, allocations: 0.6755 MB / 0.5578 GB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.4166, allocations: 4 kB / 0.5578 GB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.4167, allocations: 12.69 kB / 0.5579 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/0.4168, allocations: 56.2 kB / 0.5579 GB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00089/0.4177, allocations: 0.6358 MB / 0.5585 GB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/0.4211, allocations: 2.55 MB / 0.561 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.4216, allocations: 335.9 kB / 0.5613 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.4216, allocations: 8.016 kB / 0.5613 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.4217, allocations: 38.31 kB / 0.5614 GB, free: 12.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 4.689e-06/0.4217, allocations: 7.984 kB / 0.5614 GB, free: 12.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.002065/0.4238, allocations: 1.655 MB / 0.563 GB, free: 11.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.4238, allocations: 81.11 kB / 0.5631 GB, free: 10.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.4241, allocations: 240.7 kB / 0.5633 GB, free: 10.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.4241, allocations: 34.08 kB / 0.5633 GB, free: 10.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.4242, allocations: 237.5 kB / 0.5636 GB, free: 10.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.4244, allocations: 154 kB / 0.5637 GB, free: 10.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.4244, allocations: 17.31 kB / 0.5637 GB, free: 10.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.4245, allocations: 346.5 kB / 0.5641 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.4248, allocations: 205.3 kB / 0.5643 GB, free: 9.887 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.4251, allocations: 326.3 kB / 0.5646 GB, free: 9.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.4255, allocations: 260.5 kB / 0.5648 GB, free: 9.418 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4255, allocations: 0 / 0.5648 GB, free: 9.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001124/0.4266, allocations: 0.6973 MB / 0.5655 GB, free: 8.879 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4266, allocations: 7.953 kB / 0.5655 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008329/0.4275, allocations: 0.5274 MB / 0.566 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004288/0.4279, allocations: 115.1 kB / 0.5661 GB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.4282, allocations: 82.44 kB / 0.5662 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002535/0.4308, allocations: 3.047 MB / 0.5692 GB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.431, allocations: 26.59 kB / 0.5692 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.4311, allocations: 23.19 kB / 0.5692 GB, free: 5.199 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000242/0.4313, allocations: 207.2 kB / 0.5694 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.4314, allocations: 31.62 kB / 0.5695 GB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007196/0.4321, allocations: 0.5198 MB / 0.57 GB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/0.4321, allocations: 19.89 kB / 0.57 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.4321, allocations: 0 / 0.57 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4322, allocations: 3.984 kB / 0.57 GB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.4336, allocations: 1.086 MB / 0.5711 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.4337, allocations: 0 / 0.5711 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004132/0.4341, allocations: 79.81 kB / 0.5711 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4341, allocations: 4.062 kB / 0.5711 GB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.4341, allocations: 11.73 kB / 0.5711 GB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4341, allocations: 4 kB / 0.5712 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4342, allocations: 0 / 0.5712 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009404/0.4351, allocations: 0.8583 MB / 0.572 GB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.4353, allocations: 140.1 kB / 0.5721 GB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.4354, allocations: 7.938 kB / 0.5721 GB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.4356, allocations: 23.91 kB / 0.5722 GB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.4356, allocations: 24.03 kB / 0.5722 GB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.4357, allocations: 8 kB / 0.5722 GB, free: 2.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001852/0.4358, allocations: 200.4 kB / 0.5724 GB, free: 2.516 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4359, allocations: 0 / 0.5724 GB, free: 2.516 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005078/0.4364, allocations: 139.3 kB / 0.5725 GB, free: 2.391 MB / 378.7 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 (31): * Single equations (assignments): 27 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001439/0.4378, allocations: 1.654 MB / 0.5741 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000994/0.4388, allocations: 0.7494 MB / 0.5749 GB, free: 284 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4388, allocations: 0 / 0.5749 GB, free: 284 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.4391, allocations: 248.3 kB / 0.5751 GB, free: 108 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.4395, allocations: 67.94 kB / 0.5752 GB, free: 56 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/0.4441, allocations: 5.298 MB / 0.5803 GB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.4445, allocations: 0.8877 MB / 0.5812 GB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003094/0.4448, allocations: 107.2 kB / 0.5813 GB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.445, allocations: 143.3 kB / 0.5814 GB, free: 10.05 MB / 394.7 MB Notification: Performance of SimCode: time 9.12e-07/0.445, allocations: 0 / 0.5814 GB, free: 10.05 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.4654, allocations: 7.926 MB / 0.5892 GB, free: 2.156 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.4656, allocations: 201.4 kB / 0.5894 GB, free: 1.906 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/2.536, allocations: 7.875 kB / 0.5894 GB, free: 1.898 MB / 394.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)