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.002756/0.002756, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.916/1.916, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.001749/0.001749, allocations: 112.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1966/0.1966, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.26e-05, allocations: 4 kB / 397.6 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2668, allocations: 53.22 MB / 450.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4467/0.7136, allocations: 96.3 MB / 0.5343 GB, free: 88.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004268/0.7141, allocations: 90.22 kB / 0.5344 GB, free: 88.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06613/0.7802, allocations: 15.08 MB / 0.5491 GB, free: 79.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.7803, allocations: 4 kB / 0.5492 GB, free: 79.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.145e-05/0.7803, allocations: 8 kB / 0.5492 GB, free: 79.93 MB / 378.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.001607/0.7819, allocations: 0.6716 MB / 0.5498 GB, free: 79.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.782, allocations: 16.03 kB / 0.5498 GB, free: 79.2 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.7821, allocations: 86.52 kB / 0.5499 GB, free: 79.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008545/0.783, allocations: 91.28 kB / 0.55 GB, free: 79.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003116/0.7861, allocations: 0.8486 MB / 0.5508 GB, free: 78.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.7862, allocations: 28.77 kB / 0.5509 GB, free: 78.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.7864, allocations: 43.83 kB / 0.5509 GB, free: 78.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.7877, allocations: 0.6671 MB / 0.5515 GB, free: 77.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.7878, allocations: 0 / 0.5515 GB, free: 77.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/0.7879, allocations: 19.98 kB / 0.5516 GB, free: 77.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001976/0.7881, allocations: 56.73 kB / 0.5516 GB, free: 77.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.7894, allocations: 0.624 MB / 0.5522 GB, free: 76.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004351/0.7937, allocations: 2.558 MB / 0.5547 GB, free: 73.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.7944, allocations: 321.3 kB / 0.555 GB, free: 73.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004028/0.7948, allocations: 233.5 kB / 0.5553 GB, free: 73.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-05/0.7949, allocations: 7.984 kB / 0.5553 GB, free: 73.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.7949, allocations: 34.56 kB / 0.5553 GB, free: 73.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 3.156e-06/0.7949, allocations: 4 kB / 0.5553 GB, free: 73.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.002397/0.7973, allocations: 1.211 MB / 0.5565 GB, free: 72.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.7974, allocations: 89.05 kB / 0.5566 GB, free: 71.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.7977, allocations: 239.5 kB / 0.5568 GB, free: 71.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.7978, allocations: 29.7 kB / 0.5568 GB, free: 71.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.7979, allocations: 239.8 kB / 0.5571 GB, free: 71.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.7981, allocations: 157.8 kB / 0.5572 GB, free: 71.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.7981, allocations: 8 kB / 0.5572 GB, free: 71.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.491e-05/0.7982, allocations: 346.8 kB / 0.5575 GB, free: 70.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.7986, allocations: 200.9 kB / 0.5577 GB, free: 70.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004632/0.7991, allocations: 319.2 kB / 0.558 GB, free: 70.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005245/0.7997, allocations: 261 kB / 0.5583 GB, free: 70.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.7997, allocations: 0 / 0.5583 GB, free: 70.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001618/0.8013, allocations: 0.6933 MB / 0.559 GB, free: 69.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.8014, allocations: 15.88 kB / 0.559 GB, free: 69.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001212/0.8026, allocations: 0.5195 MB / 0.5595 GB, free: 68.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005997/0.8032, allocations: 109.6 kB / 0.5596 GB, free: 68.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.8037, allocations: 83.77 kB / 0.5597 GB, free: 68.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002989/0.8067, allocations: 3.011 MB / 0.5626 GB, free: 65.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.8072, allocations: 19.98 kB / 0.5626 GB, free: 65.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.756e-05/0.8073, allocations: 23.98 kB / 0.5627 GB, free: 65.36 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 () * 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.0001461/0.8074, allocations: 124.9 kB / 0.5628 GB, free: 65.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.8076, allocations: 31.62 kB / 0.5628 GB, free: 65.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.8088, allocations: 0.52 MB / 0.5633 GB, free: 64.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.464e-05/0.8088, allocations: 15.98 kB / 0.5633 GB, free: 64.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.8089, allocations: 0 / 0.5633 GB, free: 64.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.8089, allocations: 3.984 kB / 0.5633 GB, free: 64.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.8112, allocations: 1.091 MB / 0.5644 GB, free: 63.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.8113, allocations: 4 kB / 0.5644 GB, free: 63.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006713/0.8119, allocations: 71.88 kB / 0.5645 GB, free: 63.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-06/0.812, allocations: 3.938 kB / 0.5645 GB, free: 63.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-05/0.812, allocations: 8 kB / 0.5645 GB, free: 63.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.812, allocations: 7.984 kB / 0.5645 GB, free: 63.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.8121, allocations: 0 / 0.5645 GB, free: 63.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.8136, allocations: 0.8484 MB / 0.5653 GB, free: 62.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002395/0.8138, allocations: 144.6 kB / 0.5655 GB, free: 62.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.929e-05/0.8139, allocations: 8 kB / 0.5655 GB, free: 62.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.8143, allocations: 23.97 kB / 0.5655 GB, free: 62.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/0.8144, allocations: 24.16 kB / 0.5655 GB, free: 62.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.8144, allocations: 12 kB / 0.5655 GB, free: 62.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002589/0.8147, allocations: 195 kB / 0.5657 GB, free: 62.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.8147, allocations: 0 / 0.5657 GB, free: 62.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009446/0.8157, allocations: 139.9 kB / 0.5658 GB, free: 61.96 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 () * 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.001961/0.8177, allocations: 1.646 MB / 0.5674 GB, free: 60.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.8193, allocations: 0.7451 MB / 0.5682 GB, free: 59.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.8193, allocations: 0 / 0.5682 GB, free: 59.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004395/0.8197, allocations: 241 kB / 0.5684 GB, free: 59.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006531/0.8204, allocations: 57.36 kB / 0.5685 GB, free: 59.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.8234, allocations: 1.042 MB / 0.5695 GB, free: 58.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.824, allocations: 0.8827 MB / 0.5703 GB, free: 57.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005731/0.8246, allocations: 115.2 kB / 0.5704 GB, free: 57.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/0.825, allocations: 147.4 kB / 0.5706 GB, free: 56.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.333e-06/0.825, allocations: 0 / 0.5706 GB, free: 56.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03308/0.8581, allocations: 7.918 MB / 0.5783 GB, free: 49.05 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.8584, allocations: 168.1 kB / 0.5785 GB, free: 48.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/3.14, allocations: 3.938 kB / 0.5785 GB, free: 48.82 MB / 378.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)