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.001075/0.001075, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001054/0.001054, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.47/1.47, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1659/0.1659, allocations: 37.98 MB / 308.6 MB, free: 6.234 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.001627/0.001627, allocations: 71.89 kB / 374.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.313, allocations: 55.23 MB / 430 MB, free: 19.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005199/0.3183, allocations: 5.22 MB / 435.2 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.3203, allocations: 1.543 MB / 436.7 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.3205, allocations: 31.75 kB / 436.8 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000952/0.3215, allocations: 378.6 kB / 437.1 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004037/0.3219, allocations: 235 kB / 437.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.3222, allocations: 155.7 kB / 437.5 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005055/0.3227, allocations: 0.8455 MB / 438.4 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003912/0.3231, allocations: 284.7 kB / 438.6 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.3234, allocations: 215 kB / 438.8 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.3237, allocations: 295 kB / 439.1 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.3238, allocations: 24 kB / 439.2 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.324, allocations: 135.7 kB / 439.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.3242, allocations: 191.5 kB / 439.5 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.3243, allocations: 206.9 kB / 439.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.3247, allocations: 0.4984 MB / 440.2 MB, free: 9.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3247, allocations: 3.938 kB / 440.2 MB, free: 9.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3247, allocations: 0 / 440.2 MB, free: 9.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.3247, allocations: 0 / 440.2 MB, free: 9.512 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.0009476/0.3257, allocations: 0.703 MB / 440.9 MB, free: 8.754 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3257, allocations: 8.031 kB / 440.9 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.768e-05/0.3258, allocations: 74.7 kB / 441 MB, free: 8.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005138/0.3263, allocations: 88.31 kB / 441 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.3268, allocations: 391.2 kB / 441.4 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.3268, allocations: 29.38 kB / 441.5 MB, free: 8.133 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.327, allocations: 47.86 kB / 441.5 MB, free: 8.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005375/0.3275, allocations: 484.8 kB / 442 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.3275, allocations: 0 / 442 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.3276, allocations: 12 kB / 442 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.556e-05/0.3277, allocations: 32.92 kB / 442 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004268/0.3281, allocations: 351.7 kB / 442.4 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.3297, allocations: 1.737 MB / 444.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.3299, allocations: 157.1 kB / 444.3 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.3301, allocations: 113.6 kB / 444.4 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.3301, allocations: 4 kB / 444.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.3301, allocations: 34.56 kB / 444.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.3301, allocations: 0 / 444.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001196/0.3313, allocations: 0.8883 MB / 445.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.3314, allocations: 77.11 kB / 445.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.3316, allocations: 312.5 kB / 445.7 MB, free: 3.637 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.3316, allocations: 25.7 kB / 445.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3317, allocations: 255.4 kB / 445.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.3318, allocations: 71.23 kB / 446 MB, free: 3.281 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-05/0.3318, allocations: 61.97 kB / 446.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.19e-05/0.3319, allocations: 342.8 kB / 446.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.332, allocations: 96.22 kB / 446.5 MB, free: 2.777 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.3322, allocations: 205.2 kB / 446.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.3325, allocations: 328.6 kB / 447 MB, free: 2.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3325, allocations: 4 kB / 447 MB, free: 2.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007013/0.3332, allocations: 478.2 kB / 447.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3332, allocations: 4 kB / 447.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004927/0.3337, allocations: 313.2 kB / 447.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004333/0.3342, allocations: 140.7 kB / 447.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.3343, allocations: 52.08 kB / 448 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.3367, allocations: 2.212 MB / 450.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.3368, allocations: 19.92 kB / 450.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.3369, allocations: 16 kB / 450.2 MB, free: 14.8 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.0001991/0.3371, allocations: 189.9 kB / 450.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.3371, allocations: 23.72 kB / 450.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.3376, allocations: 273.3 kB / 450.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3376, allocations: 3.938 kB / 450.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3376, allocations: 4 kB / 450.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3376, allocations: 4 kB / 450.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3387, allocations: 0.7312 MB / 451.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3387, allocations: 4 kB / 451.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.3389, allocations: 35.92 kB / 451.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.339, allocations: 40.89 kB / 451.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.3391, allocations: 8 kB / 451.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.3391, allocations: 4 kB / 451.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3391, allocations: 3.984 kB / 451.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/0.3396, allocations: 442.3 kB / 452 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.3397, allocations: 104.8 kB / 452.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.3397, allocations: 4 kB / 452.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.3399, allocations: 11.98 kB / 452.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.3399, allocations: 15.92 kB / 452.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.34, allocations: 4 kB / 452.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002364/0.3402, allocations: 219.1 kB / 452.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3402, allocations: 0 / 452.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004549/0.3407, allocations: 91.98 kB / 452.4 MB, free: 12.48 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.0008469/0.3415, allocations: 0.9745 MB / 453.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006657/0.3422, allocations: 410.1 kB / 453.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3422, allocations: 0 / 453.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.3424, allocations: 186.7 kB / 454 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.3429, allocations: 68.45 kB / 454.1 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005164/0.3481, allocations: 3.709 MB / 457.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.3486, allocations: 0.838 MB / 458.6 MB, free: 6.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.3488, allocations: 62.92 kB / 458.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.349, allocations: 131.4 kB / 458.8 MB, free: 5.832 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.349, allocations: 0 / 458.8 MB, free: 5.832 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.3685, allocations: 6.913 MB / 465.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.3688, allocations: 239.9 kB / 465.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/2.503, allocations: 0 / 465.9 MB, free: 14.66 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)