Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08047/0.08047, 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.001094/0.001094, 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.405/1.405, 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.001391/0.001391, allocations: 195.6 kB / 291.4 MB, free: 10.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4466/0.4466, allocations: 78.5 MB / 420 MB, free: 10.75 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.002569/0.002569, allocations: 135.8 kB / 0.5565 GB, free: 17.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1276, allocations: 68.12 MB / 0.6231 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006439/0.134, allocations: 6.532 MB / 0.6295 GB, free: 6.547 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003481/0.1375, allocations: 1.846 MB / 0.6313 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004895/0.1381, allocations: 8 kB / 0.6313 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005009/0.1386, allocations: 226 kB / 0.6315 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.1403, allocations: 0.7648 MB / 0.6322 GB, free: 3.699 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.001245/0.1415, allocations: 0.6157 MB / 0.6328 GB, free: 3.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.1428, allocations: 1.421 MB / 0.6342 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004278/0.1433, allocations: 328.3 kB / 0.6345 GB, free: 1.332 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006005/0.1439, allocations: 0.5951 MB / 0.6351 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006757/0.1446, allocations: 0.731 MB / 0.6358 GB, free: 16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.1447, allocations: 104 kB / 0.6359 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.1451, allocations: 231.9 kB / 0.6361 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.1453, allocations: 290.7 kB / 0.6364 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004479/0.1458, allocations: 0.6251 MB / 0.637 GB, free: 14.76 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.1471, allocations: 1.518 MB / 0.6385 GB, free: 13.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1471, allocations: 0 / 0.6385 GB, free: 13.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1471, allocations: 0 / 0.6385 GB, free: 13.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.1471, allocations: 0 / 0.6385 GB, free: 13.23 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007938/0.1551, allocations: 2.563 MB / 0.641 GB, free: 10.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1551, allocations: 11.98 kB / 0.641 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004966/0.1601, allocations: 0.7788 MB / 0.6418 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.1612, allocations: 0.7724 MB / 0.6425 GB, free: 8.996 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/0.1615, allocations: 260.2 kB / 0.6428 GB, free: 8.707 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.1617, allocations: 80 kB / 0.6429 GB, free: 8.629 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.164, allocations: 1.081 MB / 0.6439 GB, free: 7.543 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.164, allocations: 3.938 kB / 0.6439 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.541e-05/0.1641, allocations: 39.98 kB / 0.644 GB, free: 7.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.1641, allocations: 20 kB / 0.644 GB, free: 7.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.1666, allocations: 1.124 MB / 0.6451 GB, free: 6.352 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.005515/0.1722, allocations: 3.436 MB / 0.6484 GB, free: 2.766 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.1743, allocations: 1.439 MB / 0.6498 GB, free: 1.207 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.1759, allocations: 0.7852 MB / 0.6506 GB, free: 432 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.103e-05/0.176, allocations: 12.98 kB / 0.6506 GB, free: 420 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.1761, allocations: 51.5 kB / 0.6507 GB, free: 360 kB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 3.496e-06/0.1761, allocations: 0 / 0.6507 GB, free: 360 kB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.02608/0.2022, allocations: 6.606 MB / 0.6571 GB, free: 9.711 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.2022, allocations: 72.39 kB / 0.6572 GB, free: 9.629 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.2034, allocations: 0.8845 MB / 0.6581 GB, free: 8.727 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.2036, allocations: 45.7 kB / 0.6581 GB, free: 8.676 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.2039, allocations: 492.7 kB / 0.6586 GB, free: 8.188 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/0.2042, allocations: 351 kB / 0.6589 GB, free: 7.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003809/0.2046, allocations: 206.8 kB / 0.6591 GB, free: 7.629 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2047, allocations: 353.9 kB / 0.6594 GB, free: 7.277 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.2064, allocations: 0.7287 MB / 0.6601 GB, free: 6.551 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.2082, allocations: 0.8657 MB / 0.661 GB, free: 5.652 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01895/0.2272, allocations: 4.854 MB / 0.6657 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.2272, allocations: 3.938 kB / 0.6657 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01402/0.2413, allocations: 4.277 MB / 0.6699 GB, free: 12.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.2413, allocations: 4 kB / 0.6699 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.2413, allocations: 4 kB / 0.6699 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006072/0.2474, allocations: 1.722 MB / 0.6716 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.2486, allocations: 231.7 kB / 0.6718 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02127/0.2698, allocations: 9.045 MB / 0.6807 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.2714, allocations: 182.9 kB / 0.6808 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.2715, allocations: 43.98 kB / 0.6809 GB, free: 1.074 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 (117): * Single equations (assignments): 116 * 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.0004606/0.272, allocations: 238.6 kB / 0.6811 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.2722, allocations: 122.5 kB / 0.6812 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2931/0.5654, allocations: 4.008 MB / 0.6851 GB, free: 54.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.263e-05/0.5654, allocations: 9.188 kB / 0.6851 GB, free: 54.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5655, allocations: 1.922 kB / 0.6851 GB, free: 54.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.5658, allocations: 207.5 kB / 0.6853 GB, free: 54.28 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002607/0.5661, allocations: 15.97 kB / 0.6854 GB, free: 54.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.5672, allocations: 109.8 kB / 0.6855 GB, free: 54.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00158/0.5688, allocations: 0.4904 MB / 0.6859 GB, free: 54.28 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007118/0.5759, allocations: 2.095 MB / 0.688 GB, free: 54.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00565/0.5816, allocations: 2.336 MB / 0.6903 GB, free: 53.38 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001745/0.5834, allocations: 0.6205 MB / 0.6909 GB, free: 53.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009838/0.5844, allocations: 0.6015 MB / 0.6915 GB, free: 52.92 MB / 494.1 MB Notification: Performance of Backend: time 7.71e-07/0.5844, allocations: 0 / 0.6915 GB, free: 52.92 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006247/0.5906, allocations: 1.97 MB / 0.6934 GB, free: 52.2 MB / 494.1 MB Notification: Performance of SimCode: time 0.002891/0.5936, allocations: 2.601 MB / 0.6959 GB, free: 50.62 MB / 494.1 MB Notification: Performance of Templates: time 0.02935/0.6229, allocations: 22.56 MB / 0.718 GB, free: 38.81 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)