Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08064/0.08064, allocations: 12.6 MB / 28.9 MB, free: 0.6055 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.001109/0.001109, allocations: 103.5 kB / 32.5 MB, free: 3.547 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.428/1.428, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001673/0.001673, allocations: 188.5 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.4693/0.4693, allocations: 78.51 MB / 420 MB, free: 11.27 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.00258/0.002581, allocations: 139.8 kB / 0.5565 GB, free: 28.49 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1319, allocations: 68.12 MB / 0.6231 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.006348/0.1383, allocations: 5.413 MB / 0.6283 GB, free: 9.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003614/0.142, allocations: 1.603 MB / 0.6299 GB, free: 8.371 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008217/0.1429, allocations: 8 kB / 0.6299 GB, free: 8.363 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.1437, allocations: 186.4 kB / 0.6301 GB, free: 8.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002324/0.146, allocations: 0.6406 MB / 0.6307 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.1473, allocations: 0.4907 MB / 0.6312 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001804/0.1492, allocations: 1.106 MB / 0.6323 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005425/0.1497, allocations: 270.4 kB / 0.6325 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007857/0.1505, allocations: 470 kB / 0.633 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009758/0.1515, allocations: 0.6184 MB / 0.6336 GB, free: 4.582 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003136/0.1518, allocations: 88 kB / 0.6337 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007002/0.1525, allocations: 219.8 kB / 0.6339 GB, free: 4.281 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003458/0.1529, allocations: 235 kB / 0.6341 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007263/0.1536, allocations: 0.5126 MB / 0.6346 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.1554, allocations: 1.273 MB / 0.6358 GB, free: 2.258 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.1554, allocations: 4 kB / 0.6359 GB, free: 2.254 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1554, allocations: 0 / 0.6359 GB, free: 2.254 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.558e-05/0.1555, allocations: 0 / 0.6359 GB, free: 2.254 MB / 446.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.007637/0.1631, allocations: 2.17 MB / 0.638 GB, free: 32 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1632, allocations: 11.98 kB / 0.638 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004306/0.1675, allocations: 0.651 MB / 0.6386 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.1687, allocations: 0.6581 MB / 0.6393 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.169, allocations: 180.1 kB / 0.6394 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.1692, allocations: 67.91 kB / 0.6395 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.1713, allocations: 0.8809 MB / 0.6404 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.1713, allocations: 0 / 0.6404 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.271e-05/0.1714, allocations: 27.98 kB / 0.6404 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.1714, allocations: 19.94 kB / 0.6404 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.1735, allocations: 0.9186 MB / 0.6413 GB, free: 12.54 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.004634/0.1781, allocations: 2.467 MB / 0.6437 GB, free: 9.965 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.1802, allocations: 1.13 MB / 0.6448 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.1815, allocations: 0.6498 MB / 0.6454 GB, free: 8.105 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.1816, allocations: 24.97 kB / 0.6455 GB, free: 8.082 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/0.1817, allocations: 47.56 kB / 0.6455 GB, free: 8.027 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 3.257e-06/0.1817, allocations: 0 / 0.6455 GB, free: 8.027 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.0228/0.2045, allocations: 5.533 MB / 0.6509 GB, free: 2.461 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.2046, allocations: 60.41 kB / 0.651 GB, free: 2.391 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.2058, allocations: 0.7592 MB / 0.6517 GB, free: 1.625 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002425/0.206, allocations: 45.7 kB / 0.6518 GB, free: 1.574 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.2064, allocations: 392.8 kB / 0.6521 GB, free: 1.184 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004358/0.2068, allocations: 299.7 kB / 0.6524 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004331/0.2073, allocations: 182.8 kB / 0.6526 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.2074, allocations: 345.9 kB / 0.6529 GB, free: 368 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.2089, allocations: 0.6233 MB / 0.6535 GB, free: 15.73 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.2104, allocations: 0.7349 MB / 0.6543 GB, free: 14.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0178/0.2282, allocations: 4.214 MB / 0.6584 GB, free: 10.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.2283, allocations: 0 / 0.6584 GB, free: 10.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01244/0.2408, allocations: 3.591 MB / 0.6619 GB, free: 7.125 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/0.2408, allocations: 4 kB / 0.6619 GB, free: 7.121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.2409, allocations: 4 kB / 0.6619 GB, free: 7.117 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005866/0.2467, allocations: 1.515 MB / 0.6634 GB, free: 5.598 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.2478, allocations: 183.7 kB / 0.6635 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01952/0.2674, allocations: 8.138 MB / 0.6715 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.2689, allocations: 147.1 kB / 0.6716 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/0.2691, allocations: 35.98 kB / 0.6717 GB, free: 12.95 MB / 494.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.000723/0.2699, allocations: 239.5 kB / 0.6719 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/0.2702, allocations: 98.78 kB / 0.672 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/0.2817, allocations: 3.395 MB / 0.6753 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.2817, allocations: 8 kB / 0.6753 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.2817, allocations: 11.92 kB / 0.6753 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.328e-05/0.2818, allocations: 7.984 kB / 0.6753 GB, free: 9.172 MB / 494.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.01396/0.2957, allocations: 4.761 MB / 0.68 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.2958, allocations: 4 kB / 0.68 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006613/0.2965, allocations: 99.88 kB / 0.6801 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005913/0.3024, allocations: 1.534 MB / 0.6816 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002068/0.3026, allocations: 15.98 kB / 0.6816 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01732/0.32, allocations: 7.342 MB / 0.6888 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.32, allocations: 7.875 kB / 0.6888 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/0.3341, allocations: 4.275 MB / 0.6929 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.3345, allocations: 183.7 kB / 0.6931 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/0.3348, allocations: 16 kB / 0.6931 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.3359, allocations: 87.83 kB / 0.6932 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006479/0.3366, allocations: 172.5 kB / 0.6934 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.3367, allocations: 27.98 kB / 0.6934 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007383/0.3375, allocations: 0.5107 MB / 0.6939 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.3375, allocations: 0 / 0.6939 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001359/0.3389, allocations: 379.6 kB / 0.6943 GB, free: 5.473 MB / 0.4981 GB 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.0003159/0.3392, allocations: 127.1 kB / 0.6944 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006101/0.3453, allocations: 2.117 MB / 0.6965 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3453, allocations: 0 / 0.6965 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004171/0.3495, allocations: 1.349 MB / 0.6978 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.3506, allocations: 71.31 kB / 0.6978 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.3548, allocations: 1.795 MB / 0.6996 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007824/0.3556, allocations: 1.021 MB / 0.7006 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.356, allocations: 59.41 kB / 0.7006 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.356, allocations: 0 / 0.7006 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of Templates: time 0.3178/0.6738, allocations: 16.81 MB / 0.7171 GB, free: 85.76 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)