Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.Loads.PSAT.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08559/0.08559, allocations: 12.6 MB / 28.1 MB, free: 184 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.395/1.395, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001249/0.001249, allocations: 188.5 kB / 290.5 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4434/0.4434, allocations: 78.49 MB / 419.2 MB, free: 11.34 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.002706/0.002706, allocations: 139.8 kB / 499.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3355, allocations: 68.1 MB / 0.5546 GB, free: 32.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.005498/0.341, allocations: 5.299 MB / 0.5597 GB, free: 28.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003125/0.3442, allocations: 1.605 MB / 0.5613 GB, free: 27.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005197/0.3447, allocations: 8.25 kB / 0.5613 GB, free: 27.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004947/0.3452, allocations: 180.3 kB / 0.5615 GB, free: 27.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.3468, allocations: 0.6309 MB / 0.5621 GB, free: 27.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.3478, allocations: 0.508 MB / 0.5626 GB, free: 26.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.3488, allocations: 1.067 MB / 0.5636 GB, free: 26.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/0.3492, allocations: 271 kB / 0.5639 GB, free: 26.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005298/0.3498, allocations: 464.9 kB / 0.5643 GB, free: 25.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000552/0.3503, allocations: 0.5932 MB / 0.5649 GB, free: 25.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.3505, allocations: 81.53 kB / 0.565 GB, free: 25.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004899/0.351, allocations: 221.5 kB / 0.5652 GB, free: 25.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.3512, allocations: 226.7 kB / 0.5654 GB, free: 25.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.3515, allocations: 0.493 MB / 0.5659 GB, free: 24.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.3526, allocations: 1.209 MB / 0.5671 GB, free: 23.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3526, allocations: 0 / 0.5671 GB, free: 23.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3526, allocations: 1.438 kB / 0.5671 GB, free: 23.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.3527, allocations: 4 kB / 0.5671 GB, free: 23.82 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.006489/0.3591, allocations: 2.125 MB / 0.5692 GB, free: 22.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3592, allocations: 12.92 kB / 0.5692 GB, free: 22.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004005/0.3632, allocations: 0.6462 MB / 0.5698 GB, free: 22.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009516/0.3642, allocations: 0.6571 MB / 0.5705 GB, free: 21.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.3644, allocations: 181.7 kB / 0.5706 GB, free: 21.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.3645, allocations: 59.94 kB / 0.5707 GB, free: 21.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.3663, allocations: 0.8531 MB / 0.5715 GB, free: 20.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.3663, allocations: 0 / 0.5715 GB, free: 20.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/0.3664, allocations: 24.69 kB / 0.5715 GB, free: 20.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.3664, allocations: 21.91 kB / 0.5716 GB, free: 20.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.3682, allocations: 0.8926 MB / 0.5724 GB, free: 20.54 MB / 398.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.003776/0.372, allocations: 2.412 MB / 0.5748 GB, free: 18.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.3734, allocations: 1.041 MB / 0.5758 GB, free: 17.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.3745, allocations: 0.6279 MB / 0.5764 GB, free: 16.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.348e-05/0.3745, allocations: 12.66 kB / 0.5764 GB, free: 16.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.3746, allocations: 43.2 kB / 0.5765 GB, free: 16.92 MB / 398.1 MB Notification: Performance of pre-optimization done (n=76): time 2.365e-06/0.3746, allocations: 0 / 0.5765 GB, free: 16.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=76): time 0.01996/0.3945, allocations: 5.546 MB / 0.5819 GB, free: 11.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.3946, allocations: 60.06 kB / 0.5819 GB, free: 11.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000775/0.3954, allocations: 0.7551 MB / 0.5827 GB, free: 10.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.3955, allocations: 45.64 kB / 0.5827 GB, free: 10.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.3957, allocations: 400.6 kB / 0.5831 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.3959, allocations: 272.1 kB / 0.5834 GB, free: 9.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.3962, allocations: 174.5 kB / 0.5835 GB, free: 9.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.524e-05/0.3963, allocations: 345.9 kB / 0.5839 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.3974, allocations: 0.6032 MB / 0.5845 GB, free: 8.656 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.3986, allocations: 0.7124 MB / 0.5851 GB, free: 7.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002301/0.4009, allocations: 1.311 MB / 0.5864 GB, free: 6.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4009, allocations: 0 / 0.5864 GB, free: 6.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01007/0.411, allocations: 3.489 MB / 0.5898 GB, free: 3.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.411, allocations: 8 kB / 0.5898 GB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.4111, allocations: 0 / 0.5898 GB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004639/0.4157, allocations: 1.454 MB / 0.5913 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008445/0.4166, allocations: 171.7 kB / 0.5914 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01755/0.4341, allocations: 7.813 MB / 0.5991 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.4356, allocations: 143.1 kB / 0.5992 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.159e-05/0.4357, allocations: 39.92 kB / 0.5992 GB, free: 9.316 MB / 414.1 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (94): * Single equations (assignments): 93 * 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 {(19,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004166/0.4361, allocations: 217.6 kB / 0.5994 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.4363, allocations: 102.7 kB / 0.5995 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/0.447, allocations: 3.215 MB / 0.6027 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.447, allocations: 8 kB / 0.6027 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4471, allocations: 0 / 0.6027 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.4471, allocations: 7.984 kB / 0.6027 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/0.4595, allocations: 4.539 MB / 0.6071 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.4596, allocations: 0 / 0.6071 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006014/0.4602, allocations: 95.88 kB / 0.6072 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004884/0.4651, allocations: 1.399 MB / 0.6086 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.4652, allocations: 19.98 kB / 0.6086 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01522/0.4805, allocations: 6.752 MB / 0.6152 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4805, allocations: 0 / 0.6152 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/0.4931, allocations: 4.056 MB / 0.6192 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003672/0.4935, allocations: 179.7 kB / 0.6193 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.4936, allocations: 12 kB / 0.6193 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008867/0.4945, allocations: 87.89 kB / 0.6194 GB, free: 4.301 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005356/0.4951, allocations: 164.4 kB / 0.6196 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.728e-05/0.4951, allocations: 16 kB / 0.6196 GB, free: 4.125 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006462/0.4958, allocations: 0.5146 MB / 0.6201 GB, free: 3.613 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4958, allocations: 0 / 0.6201 GB, free: 3.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001124/0.4969, allocations: 351.7 kB / 0.6204 GB, free: 3.27 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (49): * Single equations (assignments): 48 * 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 {(20,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002714/0.4972, allocations: 123.2 kB / 0.6206 GB, free: 3.141 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005892/0.5031, allocations: 2.102 MB / 0.6226 GB, free: 1.023 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5032, allocations: 0 / 0.6226 GB, free: 1.023 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003966/0.5071, allocations: 1.285 MB / 0.6239 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008181/0.508, allocations: 78.7 kB / 0.6239 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.5113, allocations: 1.677 MB / 0.6256 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/0.5119, allocations: 1.017 MB / 0.6266 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003572/0.5122, allocations: 93.45 kB / 0.6267 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.5124, allocations: 59.42 kB / 0.6267 GB, free: 12.76 MB / 446.1 MB Notification: Performance of SimCode: time 4e-07/0.5124, allocations: 3.938 kB / 0.6267 GB, free: 12.75 MB / 446.1 MB Notification: Performance of Templates: time 0.02904/0.5415, allocations: 19.28 MB / 0.6455 GB, free: 9.488 MB / 462.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)