Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.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/Modelica 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_dev_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_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 113.6 kB / 16.42 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 240.1 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 192.4 kB / 290.4 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5285/0.5285, allocations: 91.9 MB / 432.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 82.59 kB / 0.5734 GB, free: 33.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1185, allocations: 71.28 MB / 0.643 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.01281/0.1314, allocations: 13.74 MB / 0.6564 GB, free: 5.844 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007788/0.1392, allocations: 3.67 MB / 0.66 GB, free: 2.164 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0024/0.1417, allocations: 24 kB / 0.66 GB, free: 2.141 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.1436, allocations: 0.5303 MB / 0.6605 GB, free: 1.605 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004995/0.1486, allocations: 1.616 MB / 0.6621 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00319/0.1518, allocations: 1.357 MB / 0.6634 GB, free: 14.64 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005317/0.1571, allocations: 4.229 MB / 0.6676 GB, free: 10.4 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.1587, allocations: 0.9691 MB / 0.6685 GB, free: 9.371 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.1611, allocations: 1.642 MB / 0.6701 GB, free: 7.723 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002546/0.1636, allocations: 1.983 MB / 0.6721 GB, free: 5.73 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009608/0.1646, allocations: 376 kB / 0.6724 GB, free: 5.363 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.166, allocations: 0.5194 MB / 0.6729 GB, free: 4.844 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.167, allocations: 0.8483 MB / 0.6737 GB, free: 3.992 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002262/0.1693, allocations: 1.764 MB / 0.6755 GB, free: 2.219 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004143/0.1734, allocations: 4.586 MB / 0.6799 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1734, allocations: 0 / 0.6799 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1734, allocations: 0 / 0.6799 GB, free: 13.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.053e-05/0.1735, allocations: 0 / 0.6799 GB, free: 13.62 MB / 494.1 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.01674/0.1902, allocations: 5.516 MB / 0.6853 GB, free: 7.992 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.1903, allocations: 12.03 kB / 0.6853 GB, free: 7.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.2012, allocations: 1.635 MB / 0.6869 GB, free: 6.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004378/0.2056, allocations: 2.077 MB / 0.689 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004891/0.2061, allocations: 0.4945 MB / 0.6895 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004402/0.2066, allocations: 203.9 kB / 0.6896 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004915/0.2115, allocations: 2.48 MB / 0.6921 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.2116, allocations: 0 / 0.6921 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/0.2118, allocations: 72 kB / 0.6921 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/0.2118, allocations: 44 kB / 0.6922 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004534/0.2164, allocations: 2.283 MB / 0.6944 GB, free: 14.54 MB / 0.4981 GB 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.01644/0.2328, allocations: 9.357 MB / 0.7035 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/0.2432, allocations: 4.588 MB / 0.708 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003363/0.2466, allocations: 1.574 MB / 0.7096 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/0.2469, allocations: 41.91 kB / 0.7096 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00403/0.251, allocations: 1.831 MB / 0.7114 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=245): time 6.602e-06/0.251, allocations: 0 / 0.7114 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=245): time 0.08694/0.338, allocations: 19.07 MB / 0.73 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001994/0.3382, allocations: 231.6 kB / 0.7302 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0066/0.3448, allocations: 2.652 MB / 0.7328 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006915/0.3455, allocations: 73.7 kB / 0.7329 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.3467, allocations: 1.182 MB / 0.734 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001403/0.3481, allocations: 0.8666 MB / 0.7349 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002144/0.3503, allocations: 0.5932 MB / 0.7355 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.918e-05/0.3504, allocations: 305.1 kB / 0.7358 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003763/0.3542, allocations: 1.619 MB / 0.7373 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003984/0.3582, allocations: 1.95 MB / 0.7392 GB, free: 15.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04697/0.4052, allocations: 11.12 MB / 0.7501 GB, free: 4.281 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.807e-05/0.4052, allocations: 4 kB / 0.7501 GB, free: 4.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.0261/0.4313, allocations: 7.922 MB / 0.7578 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.4315, allocations: 174.2 kB / 0.758 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.4315, allocations: 8 kB / 0.758 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01213/0.4437, allocations: 3.061 MB / 0.761 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003333/0.447, allocations: 0.6202 MB / 0.7616 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3381/0.7852, allocations: 19.43 MB / 0.7806 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00415/0.7894, allocations: 428.2 kB / 0.781 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004444/0.7898, allocations: 120.9 kB / 0.7811 GB, free: 106.8 MB / 0.5606 GB 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.001355/0.7912, allocations: 0.6068 MB / 0.7817 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007793/0.792, allocations: 312.9 kB / 0.782 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02316/0.8152, allocations: 7.478 MB / 0.7893 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.388e-05/0.8153, allocations: 11.53 kB / 0.7893 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.8153, allocations: 0 / 0.7893 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.8164, allocations: 454.6 kB / 0.7898 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007413/0.8171, allocations: 52.56 kB / 0.7898 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002554/0.8197, allocations: 236.9 kB / 0.79 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001866/0.8216, allocations: 0.7652 MB / 0.7908 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01366/0.8352, allocations: 5.254 MB / 0.7959 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008224/0.8435, allocations: 5.1 MB / 0.8009 GB, free: 99.48 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002671/0.8462, allocations: 1.344 MB / 0.8022 GB, free: 98.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003184/0.8494, allocations: 1.768 MB / 0.8039 GB, free: 98.3 MB / 0.5606 GB Notification: Performance of Backend: time 1.082e-06/0.8494, allocations: 0 / 0.8039 GB, free: 98.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01115/0.8606, allocations: 4.498 MB / 0.8083 GB, free: 94.25 MB / 0.5606 GB Notification: Performance of SimCode: time 0.007651/0.8683, allocations: 6.779 MB / 0.8149 GB, free: 87.42 MB / 0.5606 GB Notification: Performance of Templates: time 0.07228/0.9406, allocations: 54.28 MB / 0.8679 GB, free: 33.28 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & ./OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)