Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",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.001448/0.001448, allocations: 179.4 kB / 8.351 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.723/1.723, allocations: 194.3 MB / 203.1 MB, free: 12.95 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.001895/0.001894, allocations: 116.6 kB / 248.1 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.166/0.166, allocations: 37.93 MB / 330.9 MB, free: 2.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.557e-05/1.57e-05, allocations: 0 / 390.5 MB, free: 7.004 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2538, allocations: 53.22 MB / 443.7 MB, free: 17.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.3864, allocations: 90.78 MB / 0.5219 GB, free: 6.852 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.3868, allocations: 91.94 kB / 0.522 GB, free: 6.762 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3298/0.7166, allocations: 12.4 MB / 0.5341 GB, free: 88.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.7167, allocations: 0 / 0.5341 GB, free: 88.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.963e-05/0.7167, allocations: 7.812 kB / 0.5341 GB, free: 88.7 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.7177, allocations: 0.6149 MB / 0.5347 GB, free: 88.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.7178, allocations: 9.25 kB / 0.5348 GB, free: 88.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007084/0.7185, allocations: 94.56 kB / 0.5348 GB, free: 88.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.7208, allocations: 0.8537 MB / 0.5357 GB, free: 87.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.7208, allocations: 18.36 kB / 0.5357 GB, free: 87.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.7209, allocations: 23.5 kB / 0.5357 GB, free: 87.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005086/0.7214, allocations: 264.9 kB / 0.536 GB, free: 87.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006437/0.7221, allocations: 405.6 kB / 0.5364 GB, free: 87.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.7221, allocations: 9.344 kB / 0.5364 GB, free: 87.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.7222, allocations: 0.6875 kB / 0.5364 GB, free: 87.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.696e-05/0.7222, allocations: 27.69 kB / 0.5364 GB, free: 87.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.7242, allocations: 1.615 MB / 0.538 GB, free: 86.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.7244, allocations: 136.7 kB / 0.5381 GB, free: 86.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.7245, allocations: 99.03 kB / 0.5382 GB, free: 86.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.7245, allocations: 4.703 kB / 0.5382 GB, free: 86.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.7246, allocations: 42.41 kB / 0.5382 GB, free: 86.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.7246, allocations: 4 kB / 0.5382 GB, free: 86.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009403/0.7255, allocations: 0.6405 MB / 0.5389 GB, free: 85.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.7256, allocations: 84.67 kB / 0.539 GB, free: 85.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.7258, allocations: 236.6 kB / 0.5392 GB, free: 85.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.7258, allocations: 25.7 kB / 0.5392 GB, free: 85.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.7259, allocations: 258.5 kB / 0.5394 GB, free: 85.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.726, allocations: 57.66 kB / 0.5395 GB, free: 85.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/0.726, allocations: 0 / 0.5395 GB, free: 85.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.7261, allocations: 343.6 kB / 0.5398 GB, free: 85.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.7262, allocations: 79.58 kB / 0.5399 GB, free: 85.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.7263, allocations: 190.9 kB / 0.5401 GB, free: 84.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.7265, allocations: 111.9 kB / 0.5402 GB, free: 84.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7265, allocations: 0 / 0.5402 GB, free: 84.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006721/0.7272, allocations: 428.3 kB / 0.5406 GB, free: 84.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.7272, allocations: 3.719 kB / 0.5406 GB, free: 84.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004453/0.7277, allocations: 269.2 kB / 0.5409 GB, free: 84.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004056/0.7281, allocations: 128.6 kB / 0.541 GB, free: 84.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.7283, allocations: 53.25 kB / 0.541 GB, free: 84.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.7302, allocations: 2.036 MB / 0.543 GB, free: 83.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.7304, allocations: 11.72 kB / 0.543 GB, free: 83.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.7304, allocations: 11 kB / 0.543 GB, free: 83.01 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 0.0001418/0.7305, allocations: 113.1 kB / 0.5432 GB, free: 82.9 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003308/0.7309, allocations: 219.8 kB / 0.5434 GB, free: 82.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.7309, allocations: 34.69 kB / 0.5434 GB, free: 82.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.7313, allocations: 231.4 kB / 0.5436 GB, free: 82.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.7313, allocations: 7.875 kB / 0.5436 GB, free: 82.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.7313, allocations: 0 / 0.5436 GB, free: 82.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.7313, allocations: 0 / 0.5436 GB, free: 82.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008705/0.7322, allocations: 0.6445 MB / 0.5443 GB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7322, allocations: 0 / 0.5443 GB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.7324, allocations: 42.28 kB / 0.5443 GB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.513e-05/0.7325, allocations: 27.67 kB / 0.5443 GB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.7325, allocations: 0 / 0.5443 GB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007454/0.7333, allocations: 1.416 MB / 0.5457 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.7333, allocations: 3.875 kB / 0.5457 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.7337, allocations: 442.8 kB / 0.5461 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.7338, allocations: 107.5 kB / 0.5462 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.7338, allocations: 4 kB / 0.5462 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.734, allocations: 7.453 kB / 0.5462 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.734, allocations: 11.27 kB / 0.5463 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.734, allocations: 11.05 kB / 0.5463 GB, free: 80.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001484/0.7342, allocations: 185.2 kB / 0.5464 GB, free: 80.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7342, allocations: 3.938 kB / 0.5464 GB, free: 80.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005294/0.7347, allocations: 85.69 kB / 0.5465 GB, free: 80.34 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): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007337/0.7355, allocations: 1.21 MB / 0.5477 GB, free: 79.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005485/0.736, allocations: 358 kB / 0.5481 GB, free: 79.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.736, allocations: 0 / 0.5481 GB, free: 79.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.7363, allocations: 223.7 kB / 0.5483 GB, free: 78.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.7366, allocations: 55.11 kB / 0.5483 GB, free: 78.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.7378, allocations: 0.7352 MB / 0.549 GB, free: 78.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.7381, allocations: 0.8541 MB / 0.5499 GB, free: 77.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.7383, allocations: 61.8 kB / 0.5499 GB, free: 77.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.7384, allocations: 122.9 kB / 0.55 GB, free: 77.64 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7384, allocations: 0 / 0.55 GB, free: 77.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.7661, allocations: 6.384 MB / 0.5563 GB, free: 71.28 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/0.7663, allocations: 135.7 kB / 0.5564 GB, free: 71.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.168/2.935, allocations: 3.938 kB / 0.5564 GB, free: 71.08 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)