Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.266/1.266, allocations: 222.9 MB / 238.9 MB, free: 4.777 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.001234/0.001234, allocations: 192.5 kB / 289.1 MB, free: 2.516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4284/0.4284, allocations: 78.51 MB / 417.8 MB, free: 3.379 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 79.89 kB / 496.8 MB, free: 6.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1192, allocations: 68.18 MB / 0.5517 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.2096/0.3289, allocations: 6.13 MB / 0.5577 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003447/0.3323, allocations: 1.789 MB / 0.5594 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005391/0.3329, allocations: 14.94 kB / 0.5594 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.3334, allocations: 161.3 kB / 0.5596 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.3346, allocations: 0.6079 MB / 0.5602 GB, free: 35.84 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.0009994/0.3356, allocations: 0.5324 MB / 0.5607 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009833/0.3366, allocations: 1.194 MB / 0.5619 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.3369, allocations: 244.5 kB / 0.5621 GB, free: 35.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003971/0.3373, allocations: 491.5 kB / 0.5626 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004465/0.3378, allocations: 0.619 MB / 0.5632 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.58e-05/0.3379, allocations: 61.44 kB / 0.5632 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003344/0.3382, allocations: 181.4 kB / 0.5634 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.3384, allocations: 220.4 kB / 0.5636 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.3387, allocations: 0.5113 MB / 0.5641 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008839/0.3396, allocations: 1.303 MB / 0.5654 GB, free: 34.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3396, allocations: 2.5 kB / 0.5654 GB, free: 34.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3396, allocations: 0 / 0.5654 GB, free: 34.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.3396, allocations: 0 / 0.5654 GB, free: 34.81 MB / 430.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.00651/0.3461, allocations: 2.353 MB / 0.5677 GB, free: 33.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3462, allocations: 8.688 kB / 0.5677 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004534/0.3507, allocations: 0.7606 MB / 0.5684 GB, free: 33.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009666/0.3517, allocations: 0.7013 MB / 0.5691 GB, free: 33.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.352, allocations: 250.6 kB / 0.5694 GB, free: 33.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.3521, allocations: 74.53 kB / 0.5694 GB, free: 33.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.3539, allocations: 0.9604 MB / 0.5704 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.3539, allocations: 3.938 kB / 0.5704 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.859e-05/0.354, allocations: 28.28 kB / 0.5704 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.354, allocations: 16.44 kB / 0.5704 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.3558, allocations: 0.9787 MB / 0.5714 GB, free: 33.29 MB / 430.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.004404/0.3602, allocations: 3.179 MB / 0.5745 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.3619, allocations: 1.314 MB / 0.5758 GB, free: 31.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.363, allocations: 0.7095 MB / 0.5765 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.707e-05/0.3631, allocations: 16.11 kB / 0.5765 GB, free: 31.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.3632, allocations: 38.41 kB / 0.5765 GB, free: 31.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.555e-06/0.3632, allocations: 0 / 0.5765 GB, free: 31.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02337/0.3865, allocations: 6.479 MB / 0.5828 GB, free: 30.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.3866, allocations: 60.53 kB / 0.5829 GB, free: 30.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.3876, allocations: 0.7923 MB / 0.5837 GB, free: 30.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001928/0.3878, allocations: 41.33 kB / 0.5837 GB, free: 30.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.3881, allocations: 430.2 kB / 0.5841 GB, free: 29.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/0.3884, allocations: 304.1 kB / 0.5844 GB, free: 29.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003456/0.3887, allocations: 190.9 kB / 0.5846 GB, free: 29.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.352e-05/0.3888, allocations: 347.7 kB / 0.5849 GB, free: 29.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.3901, allocations: 0.6544 MB / 0.5856 GB, free: 28.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.3915, allocations: 0.7907 MB / 0.5863 GB, free: 28.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01709/0.4086, allocations: 4.518 MB / 0.5907 GB, free: 27.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.4087, allocations: 1.469 kB / 0.5908 GB, free: 27.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01246/0.4212, allocations: 4.081 MB / 0.5947 GB, free: 26.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.4212, allocations: 5.438 kB / 0.5947 GB, free: 26.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.4213, allocations: 3.547 kB / 0.5947 GB, free: 26.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005895/0.4272, allocations: 1.733 MB / 0.5964 GB, free: 25.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.4283, allocations: 192.1 kB / 0.5966 GB, free: 25.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01891/0.4472, allocations: 8.319 MB / 0.6047 GB, free: 21.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.4487, allocations: 155.3 kB / 0.6049 GB, free: 21.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.763e-05/0.4488, allocations: 36.86 kB / 0.6049 GB, free: 21.91 MB / 430.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.0004624/0.4493, allocations: 230.4 kB / 0.6051 GB, free: 21.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.4494, allocations: 108.3 kB / 0.6053 GB, free: 21.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/0.4611, allocations: 3.81 MB / 0.609 GB, free: 20.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.4612, allocations: 13 kB / 0.609 GB, free: 20.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4612, allocations: 1.281 kB / 0.609 GB, free: 20.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.51e-05/0.4612, allocations: 3.984 kB / 0.609 GB, free: 20.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/0.4741, allocations: 5.387 MB / 0.6142 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.4741, allocations: 0 / 0.6142 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005104/0.4746, allocations: 92.64 kB / 0.6143 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005063/0.4797, allocations: 1.74 MB / 0.616 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/0.4799, allocations: 19.98 kB / 0.6161 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/0.4945, allocations: 7.336 MB / 0.6232 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4945, allocations: 0.625 kB / 0.6232 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01232/0.5068, allocations: 4.744 MB / 0.6279 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.5072, allocations: 187.6 kB / 0.628 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.5074, allocations: 21.3 kB / 0.6281 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008516/0.5082, allocations: 83.91 kB / 0.6281 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000557/0.5088, allocations: 200.6 kB / 0.6283 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.417e-05/0.5089, allocations: 24 kB / 0.6283 GB, free: 496 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005545/0.5094, allocations: 0.5276 MB / 0.6289 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5095, allocations: 0 / 0.6289 GB, free: 15.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001192/0.5106, allocations: 411.5 kB / 0.6293 GB, free: 15.56 MB / 446.1 MB 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.000234/0.5109, allocations: 115.2 kB / 0.6294 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005858/0.5168, allocations: 2.271 MB / 0.6316 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5168, allocations: 0 / 0.6316 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004101/0.5209, allocations: 1.47 MB / 0.633 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007642/0.5217, allocations: 83.27 kB / 0.6331 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.5247, allocations: 2.149 MB / 0.6352 GB, free: 9.457 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/0.5253, allocations: 1.033 MB / 0.6362 GB, free: 8.395 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002774/0.5256, allocations: 75.95 kB / 0.6363 GB, free: 8.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.5258, allocations: 59.42 kB / 0.6363 GB, free: 8.262 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5258, allocations: 0 / 0.6363 GB, free: 8.262 MB / 446.1 MB Notification: Performance of Templates: time 0.02512/0.5509, allocations: 19.93 MB / 0.6558 GB, free: 4.523 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)