Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1045/0.1045, allocations: 12.59 MB / 28.22 MB, free: 0.7383 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.001045/0.001045, allocations: 111.4 kB / 31.83 MB, free: 3.879 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.517/1.517, allocations: 205.1 MB / 240.4 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.001319/0.001319, allocations: 188.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4542/0.4542, allocations: 78.51 MB / 419.3 MB, free: 11.27 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.002784/0.002784, allocations: 142.4 kB / 0.5559 GB, free: 28.52 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1349, allocations: 68.13 MB / 0.6224 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.00623/0.1412, allocations: 5.847 MB / 0.6281 GB, free: 9.566 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003534/0.1447, allocations: 1.717 MB / 0.6298 GB, free: 7.844 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004668/0.1452, allocations: 8 kB / 0.6298 GB, free: 7.836 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004717/0.1457, allocations: 206.2 kB / 0.63 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.1474, allocations: 0.7271 MB / 0.6307 GB, free: 6.902 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.001247/0.1486, allocations: 0.5645 MB / 0.6312 GB, free: 6.344 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.15, allocations: 1.257 MB / 0.6325 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000402/0.1504, allocations: 271.2 kB / 0.6327 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005779/0.151, allocations: 0.5251 MB / 0.6332 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006788/0.1517, allocations: 0.6494 MB / 0.6339 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.1518, allocations: 84 kB / 0.634 GB, free: 3.543 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004212/0.1522, allocations: 223.9 kB / 0.6342 GB, free: 3.324 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.1525, allocations: 246.9 kB / 0.6344 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004334/0.1529, allocations: 0.5398 MB / 0.6349 GB, free: 2.539 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.1544, allocations: 1.365 MB / 0.6363 GB, free: 1.168 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.1544, allocations: 0 / 0.6363 GB, free: 1.168 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1544, allocations: 0 / 0.6363 GB, free: 1.168 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.1544, allocations: 0 / 0.6363 GB, free: 1.168 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007239/0.1617, allocations: 2.379 MB / 0.6386 GB, free: 14.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1617, allocations: 15.98 kB / 0.6386 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004849/0.1666, allocations: 0.7641 MB / 0.6394 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.1677, allocations: 0.7135 MB / 0.64 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.168, allocations: 256.1 kB / 0.6403 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.1682, allocations: 64 kB / 0.6404 GB, free: 12.85 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.1701, allocations: 0.9677 MB / 0.6413 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.1702, allocations: 3.938 kB / 0.6413 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-05/0.1703, allocations: 28 kB / 0.6413 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.1703, allocations: 16 kB / 0.6413 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.1723, allocations: 0.9721 MB / 0.6423 GB, free: 10.85 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.005182/0.1775, allocations: 3.171 MB / 0.6454 GB, free: 7.527 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.1795, allocations: 1.32 MB / 0.6467 GB, free: 6.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.1809, allocations: 0.7009 MB / 0.6474 GB, free: 5.391 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.934e-05/0.181, allocations: 12.98 kB / 0.6474 GB, free: 5.375 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.181, allocations: 43.56 kB / 0.6474 GB, free: 5.324 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 2.404e-06/0.181, allocations: 3.938 kB / 0.6474 GB, free: 5.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02469/0.2057, allocations: 6.493 MB / 0.6538 GB, free: 14.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.2058, allocations: 60.41 kB / 0.6538 GB, free: 14.72 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.2068, allocations: 0.7945 MB / 0.6546 GB, free: 13.92 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.207, allocations: 41.64 kB / 0.6546 GB, free: 13.88 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/0.2073, allocations: 441.1 kB / 0.6551 GB, free: 13.44 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/0.2076, allocations: 309.3 kB / 0.6554 GB, free: 13.13 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003492/0.2079, allocations: 186.9 kB / 0.6555 GB, free: 12.94 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2081, allocations: 349.9 kB / 0.6559 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.2095, allocations: 0.6624 MB / 0.6565 GB, free: 11.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.211, allocations: 0.7757 MB / 0.6573 GB, free: 11.12 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01716/0.2282, allocations: 4.52 MB / 0.6617 GB, free: 6.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.2282, allocations: 0 / 0.6617 GB, free: 6.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01288/0.2411, allocations: 4.083 MB / 0.6657 GB, free: 2.473 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.2412, allocations: 4 kB / 0.6657 GB, free: 2.469 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.2412, allocations: 8 kB / 0.6657 GB, free: 2.461 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005817/0.247, allocations: 1.73 MB / 0.6674 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009882/0.248, allocations: 191.7 kB / 0.6676 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02083/0.2689, allocations: 9.054 MB / 0.6764 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.2704, allocations: 159.2 kB / 0.6765 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.2706, allocations: 36 kB / 0.6766 GB, free: 7.133 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (101): * Single equations (assignments): 100 * 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.0005607/0.2711, allocations: 233.5 kB / 0.6768 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/0.2714, allocations: 111.3 kB / 0.6769 GB, free: 6.785 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/0.2841, allocations: 3.809 MB / 0.6806 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.2841, allocations: 15.92 kB / 0.6806 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2841, allocations: 0 / 0.6806 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/0.2842, allocations: 7.984 kB / 0.6807 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.2991, allocations: 5.372 MB / 0.6859 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.2992, allocations: 3.984 kB / 0.6859 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/0.2998, allocations: 99.88 kB / 0.686 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005911/0.3057, allocations: 1.738 MB / 0.6877 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/0.3059, allocations: 20 kB / 0.6877 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01873/0.3247, allocations: 8.058 MB / 0.6956 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.3247, allocations: 0 / 0.6956 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/0.3396, allocations: 4.736 MB / 0.7002 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/0.34, allocations: 196.2 kB / 0.7004 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002607/0.3402, allocations: 16 kB / 0.7004 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.3413, allocations: 91.89 kB / 0.7005 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007365/0.342, allocations: 208.5 kB / 0.7007 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.709e-05/0.3421, allocations: 24 kB / 0.7007 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000741/0.3429, allocations: 0.5264 MB / 0.7012 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3429, allocations: 0 / 0.7012 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001348/0.3442, allocations: 415.7 kB / 0.7016 GB, free: 13.12 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002773/0.3445, allocations: 123.1 kB / 0.7017 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006449/0.351, allocations: 2.316 MB / 0.704 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.351, allocations: 0 / 0.704 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004622/0.3556, allocations: 1.515 MB / 0.7055 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3567, allocations: 83.33 kB / 0.7056 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/0.3605, allocations: 1.819 MB / 0.7073 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008875/0.3615, allocations: 1.037 MB / 0.7084 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003751/0.3618, allocations: 78.31 kB / 0.7084 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.3621, allocations: 55.44 kB / 0.7085 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of SimCode: time 8.62e-07/0.3621, allocations: 0 / 0.7085 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of Templates: time 0.3308/0.6929, allocations: 22.39 MB / 0.7304 GB, free: 82.49 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)