Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09028/0.09028, allocations: 12.6 MB / 28.91 MB, free: 0.625 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001256, allocations: 111.5 kB / 32.51 MB, free: 3.562 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.1 MB / 241.1 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 202.7 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4375/0.4375, allocations: 78.51 MB / 420 MB, free: 11.25 MB / 302.1 MB Notification: Modelica_Synchronous 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: 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: OpenIPSL 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: Performance of FrontEnd - loaded program: time 0.002621/0.002621, allocations: 131.8 kB / 0.5565 GB, free: 28.62 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1192, allocations: 68.13 MB / 0.6231 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.007033/0.1263, allocations: 6.425 MB / 0.6293 GB, free: 8.949 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003825/0.1301, allocations: 1.915 MB / 0.6312 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008463/0.131, allocations: 15.94 kB / 0.6312 GB, free: 7.012 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008444/0.1319, allocations: 230 kB / 0.6314 GB, free: 6.785 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.1341, allocations: 0.7729 MB / 0.6322 GB, free: 6.008 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.1356, allocations: 0.6658 MB / 0.6328 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001775/0.1374, allocations: 1.471 MB / 0.6343 GB, free: 3.875 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005236/0.1379, allocations: 312.5 kB / 0.6346 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008963/0.1388, allocations: 0.5913 MB / 0.6352 GB, free: 2.969 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.1398, allocations: 0.7272 MB / 0.6359 GB, free: 2.238 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003578/0.1402, allocations: 104 kB / 0.636 GB, free: 2.137 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00065/0.1409, allocations: 247.8 kB / 0.6362 GB, free: 1.895 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003954/0.1413, allocations: 282.8 kB / 0.6365 GB, free: 1.617 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006287/0.1419, allocations: 0.6213 MB / 0.6371 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.1433, allocations: 1.534 MB / 0.6386 GB, free: 15.45 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1434, allocations: 0 / 0.6386 GB, free: 15.45 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.1434, allocations: 0 / 0.6386 GB, free: 15.45 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.1434, allocations: 7.938 kB / 0.6386 GB, free: 15.45 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.007804/0.1512, allocations: 2.54 MB / 0.6411 GB, free: 12.85 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.1513, allocations: 11.98 kB / 0.6411 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004984/0.1562, allocations: 0.7788 MB / 0.6418 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.1576, allocations: 0.8227 MB / 0.6426 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/0.1578, allocations: 252.2 kB / 0.6429 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.158, allocations: 83.91 kB / 0.643 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/0.1602, allocations: 1.122 MB / 0.6441 GB, free: 9.676 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1603, allocations: 3.938 kB / 0.6441 GB, free: 9.672 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.153e-05/0.1603, allocations: 28 kB / 0.6441 GB, free: 9.645 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.1604, allocations: 20 kB / 0.6441 GB, free: 9.625 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/0.1626, allocations: 1.07 MB / 0.6452 GB, free: 8.559 MB / 462.1 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.005382/0.168, allocations: 3.443 MB / 0.6485 GB, free: 4.957 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/0.1702, allocations: 1.434 MB / 0.6499 GB, free: 3.398 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.1717, allocations: 0.7461 MB / 0.6506 GB, free: 2.652 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.393e-05/0.1718, allocations: 13 kB / 0.6507 GB, free: 2.641 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.1719, allocations: 47.56 kB / 0.6507 GB, free: 2.586 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 2.715e-06/0.1719, allocations: 0 / 0.6507 GB, free: 2.586 MB / 462.1 MB Notification: Performance of matching and sorting (n=90): time 0.02536/0.1972, allocations: 6.5 MB / 0.6571 GB, free: 12.05 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.1974, allocations: 86.11 kB / 0.6571 GB, free: 11.95 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.1989, allocations: 0.938 MB / 0.658 GB, free: 10.99 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001588/0.1991, allocations: 45.69 kB / 0.6581 GB, free: 10.94 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.1994, allocations: 488.4 kB / 0.6586 GB, free: 10.46 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000355/0.1998, allocations: 331.4 kB / 0.6589 GB, free: 10.13 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000425/0.2002, allocations: 198.8 kB / 0.6591 GB, free: 9.926 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.2004, allocations: 345.9 kB / 0.6594 GB, free: 9.582 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.202, allocations: 0.7087 MB / 0.6601 GB, free: 8.871 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.2037, allocations: 0.8345 MB / 0.6609 GB, free: 8.004 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0185/0.2222, allocations: 4.72 MB / 0.6655 GB, free: 3.254 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.2222, allocations: 3.938 kB / 0.6655 GB, free: 3.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01411/0.2363, allocations: 4.214 MB / 0.6696 GB, free: 15.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.2364, allocations: 4 kB / 0.6696 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.2364, allocations: 7.984 kB / 0.6696 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006108/0.2425, allocations: 1.722 MB / 0.6713 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.2437, allocations: 203.7 kB / 0.6715 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02153/0.2652, allocations: 9.041 MB / 0.6803 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.2668, allocations: 178.9 kB / 0.6805 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/0.2671, allocations: 36 kB / 0.6806 GB, free: 3.676 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002115/0.2692, allocations: 0.8788 MB / 0.6814 GB, free: 2.797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001788/0.271, allocations: 0.8228 MB / 0.6822 GB, free: 1.941 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01825/0.2893, allocations: 4.685 MB / 0.6868 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.51e-06/0.2893, allocations: 0 / 0.6868 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=145) (initialization_lambda0): time 0.01402/0.3034, allocations: 4.195 MB / 0.6909 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.3034, allocations: 7.938 kB / 0.6909 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.3034, allocations: 4 kB / 0.6909 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00615/0.3096, allocations: 1.722 MB / 0.6926 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.3107, allocations: 203.7 kB / 0.6928 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.022/0.3327, allocations: 9.06 MB / 0.7016 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.3344, allocations: 167.1 kB / 0.7018 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002093/0.3346, allocations: 39.98 kB / 0.7018 GB, free: 13.66 MB / 0.5137 GB Warning: Assuming fixed start value for the following 2 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004541/0.335, allocations: 243.6 kB / 0.702 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/0.3354, allocations: 110.6 kB / 0.7022 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/0.3486, allocations: 3.94 MB / 0.706 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-05/0.3487, allocations: 7.922 kB / 0.706 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.3487, allocations: 7.922 kB / 0.706 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004525/0.3491, allocations: 203.5 kB / 0.7062 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003606/0.3495, allocations: 20 kB / 0.7062 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.3508, allocations: 111.9 kB / 0.7063 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001262/0.3521, allocations: 484.2 kB / 0.7068 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006419/0.3585, allocations: 2.001 MB / 0.7088 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005042/0.3636, allocations: 2.216 MB / 0.7109 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001466/0.3651, allocations: 0.5856 MB / 0.7115 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001174/0.3663, allocations: 0.6393 MB / 0.7121 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of Backend: time 4.71e-07/0.3663, allocations: 0 / 0.7121 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.2387/0.605, allocations: 3.65 MB / 0.7157 GB, free: 86.11 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003063/0.6081, allocations: 2.624 MB / 0.7182 GB, free: 84.76 MB / 0.5137 GB Notification: Performance of Templates: time 0.0432/0.6513, allocations: 33.11 MB / 0.7506 GB, free: 69.32 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)