Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",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.002069/0.002069, allocations: 182 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.769/1.769, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001866/0.001866, allocations: 108.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.208/0.208, allocations: 37.91 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 6.091e-05/6.119e-05, allocations: 7.938 kB / 397.6 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3197, allocations: 53.22 MB / 450.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4081/0.7278, allocations: 97.08 MB / 0.5351 GB, free: 32.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003766/0.7283, allocations: 91.69 kB / 0.5352 GB, free: 32.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04303/0.7713, allocations: 13.69 MB / 0.5486 GB, free: 30.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.7714, allocations: 0 / 0.5486 GB, free: 30.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.81e-05/0.7714, allocations: 11.81 kB / 0.5486 GB, free: 30.6 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00195/0.7734, allocations: 0.7212 MB / 0.5493 GB, free: 30.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.7734, allocations: 11.78 kB / 0.5493 GB, free: 30.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002215/0.7737, allocations: 89.34 kB / 0.5494 GB, free: 30.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006926/0.7744, allocations: 91.39 kB / 0.5495 GB, free: 30.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/0.777, allocations: 0.9317 MB / 0.5504 GB, free: 29.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/0.7771, allocations: 34.38 kB / 0.5504 GB, free: 29.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.7773, allocations: 52.91 kB / 0.5504 GB, free: 29.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.7783, allocations: 0.667 MB / 0.5511 GB, free: 29.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.7783, allocations: 3.938 kB / 0.5511 GB, free: 29.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/0.7784, allocations: 22.56 kB / 0.5511 GB, free: 29.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.706e-05/0.7785, allocations: 34.94 kB / 0.5512 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007485/0.7792, allocations: 0.4902 MB / 0.5516 GB, free: 29.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003421/0.7826, allocations: 3.018 MB / 0.5546 GB, free: 27.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/0.7832, allocations: 327 kB / 0.5549 GB, free: 27.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.7835, allocations: 198.9 kB / 0.5551 GB, free: 27.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-05/0.7836, allocations: 11.19 kB / 0.5551 GB, free: 27.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.7836, allocations: 34.55 kB / 0.5551 GB, free: 27.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 3.016e-06/0.7836, allocations: 3.938 kB / 0.5551 GB, free: 27.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001858/0.7855, allocations: 1.156 MB / 0.5563 GB, free: 27.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.7855, allocations: 88.98 kB / 0.5563 GB, free: 26.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.7859, allocations: 331.6 kB / 0.5567 GB, free: 26.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.786, allocations: 33.05 kB / 0.5567 GB, free: 26.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.7861, allocations: 279.5 kB / 0.557 GB, free: 26.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.7862, allocations: 138.9 kB / 0.5571 GB, free: 26.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.7863, allocations: 6.875 kB / 0.5571 GB, free: 26.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.7864, allocations: 350.9 kB / 0.5574 GB, free: 26.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.7867, allocations: 202.6 kB / 0.5576 GB, free: 26.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.7871, allocations: 374.7 kB / 0.558 GB, free: 26.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.7875, allocations: 268 kB / 0.5582 GB, free: 26.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.7875, allocations: 0 / 0.5582 GB, free: 26.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002006/0.7895, allocations: 0.859 MB / 0.5591 GB, free: 25.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.7896, allocations: 7.812 kB / 0.5591 GB, free: 25.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.7896, allocations: 7.875 kB / 0.5591 GB, free: 25.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/0.7911, allocations: 293.5 kB / 0.5594 GB, free: 25.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/0.7918, allocations: 151.6 kB / 0.5595 GB, free: 25.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004465/0.7963, allocations: 3.786 MB / 0.5632 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005613/0.7969, allocations: 32.62 kB / 0.5632 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-05/0.797, allocations: 26.38 kB / 0.5633 GB, free: 23.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (51): * Single equations (assignments): 48 * Array equations: 1 * 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: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.7972, allocations: 138.6 kB / 0.5634 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.7973, allocations: 42.53 kB / 0.5634 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000888/0.7982, allocations: 0.5208 MB / 0.564 GB, free: 23.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.7983, allocations: 7.812 kB / 0.564 GB, free: 23.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.7983, allocations: 0 / 0.564 GB, free: 23.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.7983, allocations: 3.609 kB / 0.564 GB, free: 23.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.8, allocations: 1.086 MB / 0.565 GB, free: 22.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.8, allocations: 7.938 kB / 0.565 GB, free: 22.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.8005, allocations: 92.97 kB / 0.5651 GB, free: 22.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.8005, allocations: 3.906 kB / 0.5651 GB, free: 22.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.8006, allocations: 14.98 kB / 0.5651 GB, free: 22.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.8006, allocations: 3.969 kB / 0.5651 GB, free: 22.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8006, allocations: 0 / 0.5651 GB, free: 22.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.8016, allocations: 0.8568 MB / 0.566 GB, free: 22.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.8018, allocations: 111.7 kB / 0.5661 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.257e-05/0.8018, allocations: 22.52 kB / 0.5661 GB, free: 22.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.8021, allocations: 18.12 kB / 0.5661 GB, free: 22.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.8022, allocations: 30.23 kB / 0.5662 GB, free: 22.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.8022, allocations: 11.14 kB / 0.5662 GB, free: 22.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002705/0.8025, allocations: 256.9 kB / 0.5664 GB, free: 22.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.8025, allocations: 0 / 0.5664 GB, free: 22.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00072/0.8033, allocations: 135.5 kB / 0.5665 GB, free: 22.28 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 1 * 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.001406/0.8047, allocations: 1.639 MB / 0.5681 GB, free: 21.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.8063, allocations: 0.8324 MB / 0.569 GB, free: 21.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8063, allocations: 0 / 0.569 GB, free: 21.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.8067, allocations: 235.9 kB / 0.5692 GB, free: 21.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.8072, allocations: 74.72 kB / 0.5692 GB, free: 21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.8099, allocations: 1.198 MB / 0.5704 GB, free: 20.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.8104, allocations: 0.9071 MB / 0.5713 GB, free: 19.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005041/0.8109, allocations: 134.8 kB / 0.5714 GB, free: 19.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003824/0.8113, allocations: 171 kB / 0.5716 GB, free: 19.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/0.8113, allocations: 0 / 0.5716 GB, free: 19.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.8384, allocations: 10.23 MB / 0.5816 GB, free: 17.4 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/0.8386, allocations: 173 kB / 0.5817 GB, free: 17.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.138/2.976, allocations: 0 / 0.5817 GB, free: 17.18 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)