Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",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.0009886/0.0009887, allocations: 180.3 kB / 8.353 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.602/1.602, allocations: 194.4 MB / 203.1 MB, free: 13.03 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.001675/0.001675, allocations: 116.6 kB / 248.1 MB, free: 32 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1732/0.1732, allocations: 37.93 MB / 330.9 MB, free: 2.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.506e-05, allocations: 4 kB / 390.5 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2704, allocations: 53.22 MB / 443.7 MB, free: 17.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1218/0.3923, allocations: 90.6 MB / 0.5218 GB, free: 6.941 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.3927, allocations: 83.95 kB / 0.5218 GB, free: 6.859 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3278/0.7205, allocations: 12.39 MB / 0.5339 GB, free: 88.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.7205, allocations: 0 / 0.5339 GB, free: 88.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.291e-05/0.7206, allocations: 7.906 kB / 0.534 GB, free: 88.52 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009712/0.7216, allocations: 0.6096 MB / 0.5345 GB, free: 88.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.7216, allocations: 13.25 kB / 0.5346 GB, free: 88.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006469/0.7223, allocations: 92.23 kB / 0.5346 GB, free: 88.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/0.7245, allocations: 0.867 MB / 0.5355 GB, free: 87.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.7246, allocations: 10.78 kB / 0.5355 GB, free: 87.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.242e-05/0.7247, allocations: 20.03 kB / 0.5355 GB, free: 87.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005074/0.7252, allocations: 275.2 kB / 0.5358 GB, free: 87.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006445/0.7258, allocations: 417.2 kB / 0.5362 GB, free: 87.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.7259, allocations: 1.125 kB / 0.5362 GB, free: 87.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.7259, allocations: 4.953 kB / 0.5362 GB, free: 87.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.054e-05/0.726, allocations: 23.72 kB / 0.5362 GB, free: 87.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.7279, allocations: 1.645 MB / 0.5378 GB, free: 86.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.7282, allocations: 139.8 kB / 0.538 GB, free: 86.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.7283, allocations: 97.48 kB / 0.538 GB, free: 86.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.7283, allocations: 11.84 kB / 0.5381 GB, free: 86.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.7283, allocations: 34.56 kB / 0.5381 GB, free: 86.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.7283, allocations: 0 / 0.5381 GB, free: 86.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009716/0.7293, allocations: 0.6729 MB / 0.5387 GB, free: 85.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.7294, allocations: 77.11 kB / 0.5388 GB, free: 85.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.7296, allocations: 242.9 kB / 0.5391 GB, free: 85.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.7296, allocations: 29.5 kB / 0.5391 GB, free: 85.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.7297, allocations: 255.3 kB / 0.5393 GB, free: 85.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.7298, allocations: 60.34 kB / 0.5394 GB, free: 85.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.7298, allocations: 3.938 kB / 0.5394 GB, free: 85.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.18e-05/0.7298, allocations: 338.7 kB / 0.5397 GB, free: 84.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.73, allocations: 92.44 kB / 0.5398 GB, free: 84.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.7301, allocations: 195.9 kB / 0.54 GB, free: 84.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.7303, allocations: 123.3 kB / 0.5401 GB, free: 84.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7303, allocations: 0 / 0.5401 GB, free: 84.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007093/0.731, allocations: 436.1 kB / 0.5405 GB, free: 84.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.731, allocations: 7.438 kB / 0.5405 GB, free: 84.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004681/0.7315, allocations: 295.4 kB / 0.5408 GB, free: 84.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004303/0.732, allocations: 132.9 kB / 0.5409 GB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.7321, allocations: 57.75 kB / 0.541 GB, free: 84.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.734, allocations: 2.082 MB / 0.543 GB, free: 82.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.7342, allocations: 7.156 kB / 0.543 GB, free: 82.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.7342, allocations: 9.531 kB / 0.543 GB, free: 82.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 8.263e-05/0.7343, allocations: 108.3 kB / 0.5431 GB, free: 82.61 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003178/0.7346, allocations: 250.4 kB / 0.5434 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.7347, allocations: 23.91 kB / 0.5434 GB, free: 82.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.7351, allocations: 248.3 kB / 0.5436 GB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.7351, allocations: 2.312 kB / 0.5436 GB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.7351, allocations: 0 / 0.5436 GB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.7351, allocations: 6.578 kB / 0.5436 GB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008544/0.736, allocations: 0.6646 MB / 0.5443 GB, free: 81.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.736, allocations: 0 / 0.5443 GB, free: 81.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.7362, allocations: 39.77 kB / 0.5443 GB, free: 81.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.615e-05/0.7363, allocations: 34.08 kB / 0.5444 GB, free: 81.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.7363, allocations: 3.781 kB / 0.5444 GB, free: 81.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.7363, allocations: 7.438 kB / 0.5444 GB, free: 81.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.7363, allocations: 7.891 kB / 0.5444 GB, free: 81.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.7367, allocations: 459.9 kB / 0.5448 GB, free: 81.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.7368, allocations: 96.55 kB / 0.5449 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.7368, allocations: 3.906 kB / 0.5449 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.737, allocations: 7.859 kB / 0.5449 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.737, allocations: 15.67 kB / 0.5449 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.7371, allocations: 7.875 kB / 0.545 GB, free: 81.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001467/0.7372, allocations: 191.6 kB / 0.5451 GB, free: 81.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7372, allocations: 0 / 0.5451 GB, free: 81.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004568/0.7377, allocations: 88.69 kB / 0.5452 GB, free: 81.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006925/0.7384, allocations: 1.212 MB / 0.5464 GB, free: 80.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005245/0.7389, allocations: 376.3 kB / 0.5468 GB, free: 80.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.7389, allocations: 4.125 kB / 0.5468 GB, free: 80.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.7391, allocations: 176 kB / 0.5469 GB, free: 79.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.7395, allocations: 53.53 kB / 0.547 GB, free: 79.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.7408, allocations: 0.7532 MB / 0.5477 GB, free: 79.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.7411, allocations: 0.8561 MB / 0.5486 GB, free: 78.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001844/0.7413, allocations: 61.86 kB / 0.5486 GB, free: 78.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.7415, allocations: 126.6 kB / 0.5487 GB, free: 78.69 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7415, allocations: 4 kB / 0.5487 GB, free: 78.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.7672, allocations: 6.278 MB / 0.5549 GB, free: 72.69 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.7674, allocations: 135.6 kB / 0.555 GB, free: 72.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.784, allocations: 0 / 0.555 GB, free: 72.49 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)