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.079/0.079, allocations: 12.6 MB / 28.91 MB, free: 0.6016 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.001116/0.001116, allocations: 107.5 kB / 32.51 MB, free: 3.543 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.321/1.321, allocations: 205.1 MB / 241.1 MB, free: 12.37 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.001302/0.001302, allocations: 195.4 kB / 291.4 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.4427/0.4427, allocations: 78.52 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.002737/0.002737, allocations: 131.4 kB / 0.5565 GB, free: 28.53 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1085, allocations: 68.13 MB / 0.6231 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.00729/0.1158, allocations: 6.433 MB / 0.6293 GB, free: 8.965 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003857/0.1197, allocations: 1.911 MB / 0.6312 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006917/0.1205, allocations: 12 kB / 0.6312 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007149/0.1212, allocations: 234 kB / 0.6314 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.123, allocations: 0.7722 MB / 0.6322 GB, free: 6.031 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.001452/0.1245, allocations: 0.6541 MB / 0.6328 GB, free: 5.383 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001758/0.1263, allocations: 1.479 MB / 0.6343 GB, free: 3.898 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005228/0.1268, allocations: 304.5 kB / 0.6346 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000946/0.1277, allocations: 0.6107 MB / 0.6352 GB, free: 2.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009904/0.1288, allocations: 0.7194 MB / 0.6359 GB, free: 2.258 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002634/0.129, allocations: 100 kB / 0.636 GB, free: 2.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005736/0.1296, allocations: 243.9 kB / 0.6362 GB, free: 1.922 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003211/0.1299, allocations: 290.7 kB / 0.6365 GB, free: 1.637 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006786/0.1306, allocations: 0.6174 MB / 0.6371 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.1323, allocations: 1.534 MB / 0.6386 GB, free: 15.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1323, allocations: 0 / 0.6386 GB, free: 15.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1323, allocations: 0 / 0.6386 GB, free: 15.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.122e-05/0.1324, allocations: 3.938 kB / 0.6386 GB, free: 15.47 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.009046/0.1414, allocations: 2.544 MB / 0.6411 GB, free: 12.87 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.1415, allocations: 11.98 kB / 0.6411 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005521/0.147, allocations: 0.7749 MB / 0.6418 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.1488, allocations: 0.8188 MB / 0.6426 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002965/0.1491, allocations: 260.2 kB / 0.6429 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/0.1494, allocations: 75.91 kB / 0.6429 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.1519, allocations: 1.126 MB / 0.644 GB, free: 9.703 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.1519, allocations: 3.938 kB / 0.644 GB, free: 9.699 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.152, allocations: 32 kB / 0.6441 GB, free: 9.668 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.152, allocations: 19.94 kB / 0.6441 GB, free: 9.648 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.1544, allocations: 1.077 MB / 0.6451 GB, free: 8.574 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.006073/0.1605, allocations: 3.432 MB / 0.6485 GB, free: 4.984 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.1628, allocations: 1.442 MB / 0.6499 GB, free: 3.422 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.1644, allocations: 0.7461 MB / 0.6506 GB, free: 2.676 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.146e-05/0.1645, allocations: 16.98 kB / 0.6507 GB, free: 2.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.1645, allocations: 47.56 kB / 0.6507 GB, free: 2.605 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 3.145e-06/0.1645, allocations: 0 / 0.6507 GB, free: 2.605 MB / 462.1 MB Notification: Performance of matching and sorting (n=90): time 0.02575/0.1903, allocations: 6.492 MB / 0.657 GB, free: 12.08 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.1904, allocations: 86.11 kB / 0.6571 GB, free: 11.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.1918, allocations: 0.9458 MB / 0.658 GB, free: 11.01 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.192, allocations: 41.7 kB / 0.6581 GB, free: 10.96 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.1923, allocations: 480.4 kB / 0.6585 GB, free: 10.49 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003464/0.1927, allocations: 323.4 kB / 0.6589 GB, free: 10.17 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004159/0.1931, allocations: 206.8 kB / 0.659 GB, free: 9.957 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1932, allocations: 349.9 kB / 0.6594 GB, free: 9.609 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.1949, allocations: 0.7125 MB / 0.6601 GB, free: 8.895 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.1966, allocations: 0.8345 MB / 0.6609 GB, free: 8.027 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01952/0.2161, allocations: 4.713 MB / 0.6655 GB, free: 3.285 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.2161, allocations: 3.938 kB / 0.6655 GB, free: 3.281 MB / 478.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01456/0.2307, allocations: 4.218 MB / 0.6696 GB, free: 15.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.2308, allocations: 10.97 kB / 0.6696 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.2308, allocations: 3.938 kB / 0.6696 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006339/0.2371, allocations: 1.722 MB / 0.6713 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.2383, allocations: 199.7 kB / 0.6715 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02272/0.261, allocations: 9.056 MB / 0.6803 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.2626, allocations: 174.9 kB / 0.6805 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.2628, allocations: 43.98 kB / 0.6806 GB, free: 3.688 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.002105/0.2649, allocations: 0.8746 MB / 0.6814 GB, free: 2.816 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001721/0.2667, allocations: 0.8189 MB / 0.6822 GB, free: 1.965 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01892/0.2856, allocations: 4.689 MB / 0.6868 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.38e-06/0.2856, allocations: 0 / 0.6868 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=145) (initialization_lambda0): time 0.01448/0.3001, allocations: 4.195 MB / 0.6909 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3002, allocations: 11.88 kB / 0.6909 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3002, allocations: 7.938 kB / 0.6909 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006261/0.3065, allocations: 1.718 MB / 0.6926 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.3076, allocations: 203.7 kB / 0.6928 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02455/0.3321, allocations: 9.045 MB / 0.7016 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/0.3345, allocations: 167.1 kB / 0.7018 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/0.3348, allocations: 39.98 kB / 0.7018 GB, free: 13.69 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.000565/0.3354, allocations: 243.7 kB / 0.702 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004921/0.3359, allocations: 114.6 kB / 0.7021 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0214/0.3573, allocations: 3.947 MB / 0.706 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.284e-05/0.3574, allocations: 3.984 kB / 0.706 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.3574, allocations: 4 kB / 0.706 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005407/0.358, allocations: 203.5 kB / 0.7062 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004068/0.3584, allocations: 16 kB / 0.7062 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/0.3603, allocations: 111.8 kB / 0.7063 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001944/0.3622, allocations: 492.2 kB / 0.7068 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009486/0.3717, allocations: 2.005 MB / 0.7088 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007521/0.3793, allocations: 2.212 MB / 0.7109 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002258/0.3816, allocations: 0.5856 MB / 0.7115 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001613/0.3832, allocations: 0.6354 MB / 0.7121 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of Backend: time 6.62e-07/0.3832, allocations: 0 / 0.7121 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.275/0.6582, allocations: 3.65 MB / 0.7157 GB, free: 86.64 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003407/0.6616, allocations: 2.632 MB / 0.7182 GB, free: 85.29 MB / 0.5137 GB Notification: Performance of Templates: time 0.04589/0.7075, allocations: 33.11 MB / 0.7506 GB, free: 69.77 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)