Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 172.3 kB / 16.08 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 239.7 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008202/0.0008201, allocations: 103.7 kB / 290.5 MB, free: 11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4335/0.4335, allocations: 78.43 MB / 419.6 MB, free: 9.781 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003538, allocations: 16.2 kB / 499.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2741, allocations: 68.74 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.009785/0.2839, allocations: 14.39 MB / 0.5686 GB, free: 5.785 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006234/0.2901, allocations: 3.787 MB / 0.5723 GB, free: 1.984 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.2918, allocations: 27.94 kB / 0.5723 GB, free: 1.957 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009968/0.2928, allocations: 405.2 kB / 0.5727 GB, free: 1.559 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer1.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer2.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.002948/0.2958, allocations: 1.283 MB / 0.5739 GB, free: 280 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation gen1.gen.xq <> gen1.gen.x1q, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation gen2.gen.xq <> gen2.gen.x1q, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation gen3.gen.xq <> gen3.gen.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.2982, allocations: 1.262 MB / 0.5752 GB, free: 15.02 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003953/0.3021, allocations: 3.926 MB / 0.579 GB, free: 11.08 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.3032, allocations: 0.8837 MB / 0.5799 GB, free: 10.15 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.3051, allocations: 1.345 MB / 0.5812 GB, free: 8.797 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.307, allocations: 1.722 MB / 0.5828 GB, free: 7.066 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003706/0.3073, allocations: 144 kB / 0.583 GB, free: 6.926 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006985/0.3081, allocations: 283.9 kB / 0.5833 GB, free: 6.648 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005024/0.3086, allocations: 0.6061 MB / 0.5838 GB, free: 6.039 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.3098, allocations: 1.506 MB / 0.5853 GB, free: 4.523 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003524/0.3134, allocations: 4.253 MB / 0.5895 GB, free: 260 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3134, allocations: 4 kB / 0.5895 GB, free: 256 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3134, allocations: 0 / 0.5895 GB, free: 256 kB / 394.7 MB Notification: Performance of Transformations before backend: time 6.422e-05/0.3135, allocations: 0 / 0.5895 GB, free: 256 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 476 * Number of variables: 476 Notification: Performance of Generate backend data structure: time 0.0141/0.3276, allocations: 4.865 MB / 0.5942 GB, free: 11.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3276, allocations: 12.03 kB / 0.5942 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.3379, allocations: 1.627 MB / 0.5958 GB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004225/0.3422, allocations: 2.073 MB / 0.5979 GB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004352/0.3426, allocations: 494.4 kB / 0.5983 GB, free: 6.949 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003456/0.343, allocations: 207.9 kB / 0.5985 GB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00444/0.3474, allocations: 2.468 MB / 0.6009 GB, free: 4.254 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.3475, allocations: 7.875 kB / 0.6009 GB, free: 4.246 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/0.3477, allocations: 79.94 kB / 0.601 GB, free: 4.168 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.3477, allocations: 48 kB / 0.6011 GB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00447/0.3522, allocations: 2.283 MB / 0.6033 GB, free: 1.836 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01555/0.3677, allocations: 9.349 MB / 0.6124 GB, free: 8.141 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009832/0.3776, allocations: 4.596 MB / 0.6169 GB, free: 3.273 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002956/0.3806, allocations: 1.574 MB / 0.6184 GB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/0.3808, allocations: 45.89 kB / 0.6185 GB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003304/0.3841, allocations: 1.844 MB / 0.6203 GB, free: 15.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=245): time 4.809e-06/0.3842, allocations: 0 / 0.6203 GB, free: 15.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=245): time 0.07798/0.4622, allocations: 19.05 MB / 0.6389 GB, free: 12.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.4623, allocations: 247.5 kB / 0.6391 GB, free: 12.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005457/0.4678, allocations: 2.648 MB / 0.6417 GB, free: 9.633 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000696/0.4685, allocations: 73.7 kB / 0.6418 GB, free: 9.555 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.4695, allocations: 1.185 MB / 0.6429 GB, free: 8.359 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001133/0.4707, allocations: 0.8627 MB / 0.6438 GB, free: 7.484 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004411/0.4711, allocations: 304.7 kB / 0.6441 GB, free: 7.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4712, allocations: 309.1 kB / 0.6444 GB, free: 6.875 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00326/0.4745, allocations: 1.619 MB / 0.646 GB, free: 5.254 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003519/0.478, allocations: 1.966 MB / 0.6479 GB, free: 3.219 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04446/0.5225, allocations: 11.14 MB / 0.6588 GB, free: 7.832 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.5226, allocations: 0 / 0.6588 GB, free: 7.832 MB / 474.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02507/0.5476, allocations: 7.925 MB / 0.6665 GB, free: 15.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.5479, allocations: 166.2 kB / 0.6667 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/0.5479, allocations: 7.984 kB / 0.6667 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01176/0.5597, allocations: 3.069 MB / 0.6697 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003167/0.5629, allocations: 0.6202 MB / 0.6703 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2819/0.8448, allocations: 17.99 MB / 0.6878 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003889/0.8487, allocations: 423.1 kB / 0.6882 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005826/0.8493, allocations: 125.9 kB / 0.6884 GB, free: 107 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: gen3.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.e1q:VARIABLE(start = gen1.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen1.gen.e1d:VARIABLE(start = gen1.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen1.AVR.firstOrder2.y:VARIABLE(flow=false start = gen1.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (340): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(36,46), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001477/0.8508, allocations: 0.6081 MB / 0.689 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007151/0.8515, allocations: 321.9 kB / 0.6893 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02233/0.8739, allocations: 7.477 MB / 0.6966 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.353e-05/0.8739, allocations: 12.56 kB / 0.6966 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.8739, allocations: 0 / 0.6966 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007437/0.8747, allocations: 454.8 kB / 0.697 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005268/0.8752, allocations: 55.44 kB / 0.6971 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/0.8775, allocations: 230.4 kB / 0.6973 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00188/0.8794, allocations: 0.7392 MB / 0.698 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01268/0.8921, allocations: 5.268 MB / 0.7031 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008505/0.9006, allocations: 5.092 MB / 0.7081 GB, free: 99.89 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002444/0.9031, allocations: 1.345 MB / 0.7094 GB, free: 99.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002997/0.9061, allocations: 1.769 MB / 0.7112 GB, free: 98.06 MB / 490.7 MB Notification: Performance of Backend: time 6.52e-07/0.9061, allocations: 0 / 0.7112 GB, free: 98.06 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0108/0.9169, allocations: 4.437 MB / 0.7155 GB, free: 94.12 MB / 490.7 MB Notification: Performance of SimCode: time 0.008299/0.9252, allocations: 7.834 MB / 0.7231 GB, free: 86.27 MB / 490.7 MB Notification: Performance of Templates: time 0.06366/0.9889, allocations: 48.32 MB / 0.7703 GB, free: 38.05 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & ./OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)