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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008218/0.0008219, allocations: 91.34 kB / 16.65 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008442/0.0008441, allocations: 183 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1691/0.1691, allocations: 38.05 MB / 310.1 MB, free: 5.922 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005333/0.0005334, allocations: 16 kB / 377.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2561, allocations: 56.32 MB / 433.6 MB, free: 18.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004557/0.2607, allocations: 4.823 MB / 438.4 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.2627, allocations: 1.52 MB / 439.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.2629, allocations: 23.88 kB / 440 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.2632, allocations: 79.45 kB / 440 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000427/0.2637, allocations: 243 kB / 440.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.264, allocations: 139.8 kB / 440.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005627/0.2646, allocations: 0.865 MB / 441.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007313/0.2653, allocations: 0.5476 MB / 441.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.2656, allocations: 199 kB / 442 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/0.266, allocations: 283 kB / 442.3 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.266, allocations: 16 kB / 442.3 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.2662, allocations: 127.8 kB / 442.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.2664, allocations: 179.5 kB / 442.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.2665, allocations: 220.6 kB / 442.8 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.2669, allocations: 498.2 kB / 443.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2669, allocations: 4 kB / 443.3 MB, free: 8.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2669, allocations: 0 / 443.3 MB, free: 8.855 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.2669, allocations: 0 / 443.3 MB, free: 8.855 MB / 318.1 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.0008815/0.2678, allocations: 0.6329 MB / 443.9 MB, free: 8.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2679, allocations: 12.03 kB / 444 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.799e-05/0.2679, allocations: 74.72 kB / 444 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005496/0.2685, allocations: 88.31 kB / 444.1 MB, free: 7.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.269, allocations: 391.2 kB / 444.5 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.269, allocations: 33.34 kB / 444.5 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.2691, allocations: 51.86 kB / 444.6 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.2697, allocations: 472.9 kB / 445 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.2697, allocations: 3.938 kB / 445 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.2697, allocations: 15.98 kB / 445.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-05/0.2698, allocations: 28.98 kB / 445.1 MB, free: 6.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.2703, allocations: 351.7 kB / 445.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.2719, allocations: 1.737 MB / 447.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.2721, allocations: 153.1 kB / 447.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.2723, allocations: 113.7 kB / 447.4 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.2723, allocations: 4 kB / 447.4 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.2723, allocations: 34.56 kB / 447.5 MB, free: 4.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.2723, allocations: 4 kB / 447.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001183/0.2735, allocations: 0.8848 MB / 448.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.2736, allocations: 77.11 kB / 448.4 MB, free: 3.359 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.2738, allocations: 316.6 kB / 448.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.2738, allocations: 25.7 kB / 448.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.2739, allocations: 251.4 kB / 449 MB, free: 2.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.274, allocations: 67.19 kB / 449.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.274, allocations: 29.7 kB / 449.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.472e-05/0.2741, allocations: 346.7 kB / 449.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.2742, allocations: 100.2 kB / 449.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.2744, allocations: 205.2 kB / 449.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.2747, allocations: 328.5 kB / 450.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2747, allocations: 0 / 450.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007003/0.2754, allocations: 477.6 kB / 450.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2754, allocations: 8 kB / 450.5 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004871/0.2759, allocations: 308.4 kB / 450.8 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004353/0.2763, allocations: 140.9 kB / 451 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.2765, allocations: 59.91 kB / 451 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.2791, allocations: 2.205 MB / 453.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.2793, allocations: 15.94 kB / 453.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.2793, allocations: 12 kB / 453.3 MB, free: 14.25 MB / 334.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000198/0.2795, allocations: 197.7 kB / 453.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.2796, allocations: 23.72 kB / 453.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000426/0.28, allocations: 269.2 kB / 453.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.28, allocations: 7.922 kB / 453.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.28, allocations: 0 / 453.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.28, allocations: 8 kB / 453.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.2811, allocations: 0.7273 MB / 454.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2812, allocations: 4 kB / 454.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.2814, allocations: 39.91 kB / 454.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-05/0.2815, allocations: 44.89 kB / 454.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.2815, allocations: 4 kB / 454.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.2815, allocations: 4 kB / 454.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2815, allocations: 0 / 454.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.282, allocations: 458.2 kB / 455 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.2821, allocations: 100.7 kB / 455.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.2822, allocations: 8 kB / 455.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.2823, allocations: 8.031 kB / 455.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.2823, allocations: 15.92 kB / 455.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.2824, allocations: 4 kB / 455.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.2826, allocations: 219 kB / 455.4 MB, free: 12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2826, allocations: 0 / 455.4 MB, free: 12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004226/0.283, allocations: 88 kB / 455.5 MB, free: 11.91 MB / 334.1 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008217/0.2838, allocations: 0.9832 MB / 456.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006762/0.2845, allocations: 414.4 kB / 456.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.2845, allocations: 0.875 kB / 456.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.2848, allocations: 181.9 kB / 457 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.2852, allocations: 61.17 kB / 457.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/0.2898, allocations: 3.769 MB / 460.9 MB, free: 6.258 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.2902, allocations: 0.8419 MB / 461.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001946/0.2904, allocations: 62.92 kB / 461.8 MB, free: 5.328 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.2906, allocations: 131.3 kB / 461.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2906, allocations: 0 / 461.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.3107, allocations: 6.798 MB / 468.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/0.311, allocations: 235.2 kB / 468.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.177, allocations: 0 / 468.9 MB, free: 14.18 MB / 350.1 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/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)