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.001324/0.001324, 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.803/1.803, allocations: 194.3 MB / 208.4 MB, free: 6.715 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.001868/0.001868, allocations: 116.7 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2295/0.2295, allocations: 37.91 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.876e-05/3.885e-05, allocations: 4 kB / 397.6 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3625, allocations: 53.22 MB / 450.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1535/0.516, allocations: 91.27 MB / 0.5294 GB, free: 2.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.5164, allocations: 91.8 kB / 0.5295 GB, free: 1.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3199/0.8363, allocations: 12.5 MB / 0.5417 GB, free: 85.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.8364, allocations: 0 / 0.5417 GB, free: 85.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.543e-05/0.8364, allocations: 7.75 kB / 0.5417 GB, free: 85.97 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.001003/0.8374, allocations: 0.6136 MB / 0.5423 GB, free: 85.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.8375, allocations: 7.75 kB / 0.5423 GB, free: 85.43 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.037e-05/0.8376, allocations: 81.67 kB / 0.5424 GB, free: 85.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006144/0.8382, allocations: 93.56 kB / 0.5425 GB, free: 85.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.8403, allocations: 0.8609 MB / 0.5433 GB, free: 84.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.8403, allocations: 24.44 kB / 0.5434 GB, free: 84.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.938e-05/0.8404, allocations: 39.11 kB / 0.5434 GB, free: 84.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007087/0.8411, allocations: 458.9 kB / 0.5438 GB, free: 84.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.8411, allocations: 3.953 kB / 0.5438 GB, free: 84.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.875e-05/0.8412, allocations: 19.56 kB / 0.5439 GB, free: 84.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.71e-05/0.8412, allocations: 28.58 kB / 0.5439 GB, free: 84.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004706/0.8417, allocations: 331.3 kB / 0.5442 GB, free: 84.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.8437, allocations: 1.725 MB / 0.5459 GB, free: 82.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.844, allocations: 151.3 kB / 0.546 GB, free: 82.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.8441, allocations: 104.5 kB / 0.5461 GB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.8441, allocations: 7.906 kB / 0.5461 GB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.8442, allocations: 34.55 kB / 0.5462 GB, free: 82.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.846e-06/0.8442, allocations: 0 / 0.5462 GB, free: 82.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.00128/0.8455, allocations: 0.6985 MB / 0.5468 GB, free: 81.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.8455, allocations: 77.11 kB / 0.5469 GB, free: 81.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.8458, allocations: 286.6 kB / 0.5472 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.8458, allocations: 29.7 kB / 0.5472 GB, free: 81.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.8459, allocations: 259.2 kB / 0.5475 GB, free: 81.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.8459, allocations: 55.2 kB / 0.5475 GB, free: 81.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.846, allocations: 4 kB / 0.5475 GB, free: 81.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.387e-05/0.8461, allocations: 338.8 kB / 0.5478 GB, free: 80.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.8462, allocations: 100.2 kB / 0.5479 GB, free: 80.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.8463, allocations: 197.7 kB / 0.5481 GB, free: 80.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.8465, allocations: 132.6 kB / 0.5483 GB, free: 80.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8465, allocations: 0 / 0.5483 GB, free: 80.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000749/0.8473, allocations: 473.2 kB / 0.5487 GB, free: 79.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.8473, allocations: 8.438 kB / 0.5487 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000508/0.8478, allocations: 309 kB / 0.549 GB, free: 79.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005427/0.8484, allocations: 132.7 kB / 0.5491 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.8486, allocations: 59.91 kB / 0.5492 GB, free: 79.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.8509, allocations: 2.196 MB / 0.5513 GB, free: 77.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.8512, allocations: 15.94 kB / 0.5514 GB, free: 77.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.8512, allocations: 16 kB / 0.5514 GB, free: 77.1 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.629e-05/0.8513, allocations: 124.7 kB / 0.5515 GB, free: 76.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.8514, allocations: 27.62 kB / 0.5515 GB, free: 76.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004374/0.8518, allocations: 269.1 kB / 0.5518 GB, free: 76.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.8519, allocations: 4 kB / 0.5518 GB, free: 76.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.8519, allocations: 0 / 0.5518 GB, free: 76.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.8519, allocations: 3.984 kB / 0.5518 GB, free: 76.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.8529, allocations: 0.7349 MB / 0.5525 GB, free: 75.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.853, allocations: 0 / 0.5525 GB, free: 75.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.8532, allocations: 39.98 kB / 0.5525 GB, free: 75.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.8533, allocations: 36.81 kB / 0.5526 GB, free: 75.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.8534, allocations: 11.98 kB / 0.5526 GB, free: 75.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.8534, allocations: 0 / 0.5526 GB, free: 75.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8534, allocations: 0 / 0.5526 GB, free: 75.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004828/0.8539, allocations: 467.5 kB / 0.553 GB, free: 75.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.854, allocations: 112.7 kB / 0.5531 GB, free: 75.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.854, allocations: 4 kB / 0.5531 GB, free: 75.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.8542, allocations: 23.92 kB / 0.5532 GB, free: 75.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.8542, allocations: 19.92 kB / 0.5532 GB, free: 75.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.8542, allocations: 8 kB / 0.5532 GB, free: 75.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000204/0.8544, allocations: 218.2 kB / 0.5534 GB, free: 74.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.8544, allocations: 0 / 0.5534 GB, free: 74.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005167/0.855, allocations: 96 kB / 0.5535 GB, free: 74.78 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.0008272/0.8558, allocations: 1.229 MB / 0.5547 GB, free: 73.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006172/0.8564, allocations: 406.5 kB / 0.5551 GB, free: 73.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8564, allocations: 0 / 0.5551 GB, free: 73.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.8566, allocations: 177.9 kB / 0.5552 GB, free: 72.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.857, allocations: 62.2 kB / 0.5553 GB, free: 72.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.8585, allocations: 0.7733 MB / 0.5561 GB, free: 72.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.8589, allocations: 0.8499 MB / 0.5569 GB, free: 71.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002198/0.8591, allocations: 62.92 kB / 0.557 GB, free: 71.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.8593, allocations: 127.4 kB / 0.5571 GB, free: 70.96 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.8593, allocations: 0 / 0.5571 GB, free: 70.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.8839, allocations: 7.209 MB / 0.5641 GB, free: 63.76 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002804/0.8843, allocations: 194.8 kB / 0.5643 GB, free: 63.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/3.347, allocations: 0 / 0.5643 GB, free: 63.52 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)