Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 115.5 kB / 16.37 MB, free: 5.984 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.446/1.446, allocations: 222.9 MB / 240 MB, free: 4.52 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.001252/0.001252, allocations: 180.5 kB / 290.3 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5031/0.5031, allocations: 91.89 MB / 432.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 71.89 kB / 0.5033 GB, free: 6.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3032, allocations: 71.26 MB / 0.5729 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.004557/0.3078, allocations: 5.38 MB / 0.5781 GB, free: 34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.3102, allocations: 1.645 MB / 0.5797 GB, free: 32.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.3105, allocations: 8.344 kB / 0.5798 GB, free: 32.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.3109, allocations: 185.9 kB / 0.5799 GB, free: 32.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.3122, allocations: 0.6413 MB / 0.5806 GB, free: 32.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008268/0.313, allocations: 0.5048 MB / 0.581 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007955/0.3138, allocations: 1.099 MB / 0.5821 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/0.3142, allocations: 263.2 kB / 0.5824 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000395/0.3146, allocations: 467.8 kB / 0.5828 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005147/0.3151, allocations: 0.6256 MB / 0.5834 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.3152, allocations: 85.81 kB / 0.5835 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003495/0.3156, allocations: 217.1 kB / 0.5837 GB, free: 30.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.3157, allocations: 243.5 kB / 0.584 GB, free: 30.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.316, allocations: 0.5059 MB / 0.5844 GB, free: 30.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008465/0.3169, allocations: 1.277 MB / 0.5857 GB, free: 29.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3169, allocations: 0 / 0.5857 GB, free: 29.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3169, allocations: 0 / 0.5857 GB, free: 29.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.3169, allocations: 2.906 kB / 0.5857 GB, free: 29.77 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.00597/0.3229, allocations: 2.175 MB / 0.5878 GB, free: 28.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3229, allocations: 10.09 kB / 0.5878 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00394/0.3269, allocations: 0.6447 MB / 0.5885 GB, free: 28.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007795/0.3277, allocations: 0.652 MB / 0.5891 GB, free: 28.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.3278, allocations: 178.2 kB / 0.5893 GB, free: 28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.328, allocations: 69.31 kB / 0.5893 GB, free: 27.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.3295, allocations: 0.8857 MB / 0.5902 GB, free: 27.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.3296, allocations: 0 / 0.5902 GB, free: 27.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-05/0.3296, allocations: 20.84 kB / 0.5902 GB, free: 27.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.3297, allocations: 23.22 kB / 0.5902 GB, free: 27.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.3315, allocations: 0.9216 MB / 0.5911 GB, free: 27.34 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.003623/0.3351, allocations: 2.466 MB / 0.5935 GB, free: 26.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.3368, allocations: 1.133 MB / 0.5947 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.3381, allocations: 0.6557 MB / 0.5953 GB, free: 25.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.3382, allocations: 10.61 kB / 0.5953 GB, free: 25.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.3382, allocations: 43.16 kB / 0.5953 GB, free: 25.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.835e-06/0.3382, allocations: 4 kB / 0.5953 GB, free: 25 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02113/0.3593, allocations: 5.531 MB / 0.6007 GB, free: 23.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.3594, allocations: 60.03 kB / 0.6008 GB, free: 23.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.3605, allocations: 0.7613 MB / 0.6016 GB, free: 23.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.3607, allocations: 45.64 kB / 0.6016 GB, free: 23.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.361, allocations: 403.3 kB / 0.602 GB, free: 23.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.3612, allocations: 298.6 kB / 0.6023 GB, free: 22.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003395/0.3616, allocations: 180.1 kB / 0.6024 GB, free: 22.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.3617, allocations: 347.9 kB / 0.6028 GB, free: 22.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.3629, allocations: 0.6219 MB / 0.6034 GB, free: 22.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.3643, allocations: 0.7329 MB / 0.6041 GB, free: 21.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01711/0.3814, allocations: 4.219 MB / 0.6082 GB, free: 20.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.3814, allocations: 1.156 kB / 0.6082 GB, free: 20.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01181/0.3932, allocations: 3.59 MB / 0.6117 GB, free: 19.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.3933, allocations: 5.219 kB / 0.6117 GB, free: 19.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3933, allocations: 2.219 kB / 0.6117 GB, free: 19.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005377/0.3987, allocations: 1.508 MB / 0.6132 GB, free: 19.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.3997, allocations: 184.8 kB / 0.6134 GB, free: 19.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/0.4162, allocations: 8.152 MB / 0.6213 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.4177, allocations: 147.1 kB / 0.6215 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.4179, allocations: 35.98 kB / 0.6215 GB, free: 12.22 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real mixed.x:VARIABLE(start = -mixed.v_0 / mixed.Tfv fixed = true protected = true ) 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 (97): * Single equations (assignments): 96 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0005147/0.4184, allocations: 234.4 kB / 0.6217 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/0.4187, allocations: 98.78 kB / 0.6218 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00976/0.4284, allocations: 3.403 MB / 0.6251 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/0.4285, allocations: 8 kB / 0.6252 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4285, allocations: 3.938 kB / 0.6252 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/0.4285, allocations: 11.98 kB / 0.6252 GB, free: 8.445 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 postOpt removeSimpleEquations (simulation): time 0.01235/0.4409, allocations: 4.765 MB / 0.6298 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.4409, allocations: 4 kB / 0.6298 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000584/0.4415, allocations: 99.88 kB / 0.6299 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00496/0.4465, allocations: 1.526 MB / 0.6314 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001728/0.4467, allocations: 16 kB / 0.6314 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01634/0.4631, allocations: 7.337 MB / 0.6386 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.4631, allocations: 3.938 kB / 0.6386 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01311/0.4762, allocations: 4.271 MB / 0.6428 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003973/0.4767, allocations: 191.7 kB / 0.643 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/0.477, allocations: 12 kB / 0.643 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.478, allocations: 87.83 kB / 0.643 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006045/0.4787, allocations: 168.8 kB / 0.6432 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-05/0.4788, allocations: 23.98 kB / 0.6432 GB, free: 5.633 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007712/0.4796, allocations: 0.5185 MB / 0.6437 GB, free: 5.121 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4796, allocations: 4 kB / 0.6437 GB, free: 5.117 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00124/0.4808, allocations: 379.6 kB / 0.6441 GB, free: 4.746 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * 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,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002616/0.4811, allocations: 123.2 kB / 0.6442 GB, free: 4.617 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00588/0.487, allocations: 2.125 MB / 0.6463 GB, free: 2.473 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.487, allocations: 0 / 0.6463 GB, free: 2.473 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003843/0.4909, allocations: 1.345 MB / 0.6476 GB, free: 1.117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009572/0.4918, allocations: 79.44 kB / 0.6477 GB, free: 1.039 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.4955, allocations: 1.742 MB / 0.6494 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007187/0.4962, allocations: 1.029 MB / 0.6504 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003741/0.4966, allocations: 93.62 kB / 0.6505 GB, free: 14.13 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.4969, allocations: 55.42 kB / 0.6505 GB, free: 14.08 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4969, allocations: 0 / 0.6505 GB, free: 14.08 MB / 462.1 MB Notification: Performance of Templates: time 0.0336/0.5305, allocations: 21.21 MB / 0.6712 GB, free: 8.902 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)