Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.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.Examples.DAEMode.SMIB_Examples.Example_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.35/1.35, allocations: 222.9 MB / 240.1 MB, free: 4.559 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.001227/0.001227, allocations: 176.5 kB / 290.4 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5076/0.5076, allocations: 91.9 MB / 432.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002487/0.002487, allocations: 85.44 kB / 0.5734 GB, free: 33.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1457, allocations: 71.28 MB / 0.643 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network): time 0.009447/0.1551, allocations: 5.934 MB / 0.6488 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00541/0.1606, allocations: 2.141 MB / 0.6509 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.1618, allocations: 11.94 kB / 0.6509 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.163, allocations: 246.1 kB / 0.6511 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003063/0.1661, allocations: 0.7956 MB / 0.6519 GB, free: 10.46 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.1679, allocations: 0.7069 MB / 0.6526 GB, free: 9.762 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00205/0.1699, allocations: 1.843 MB / 0.6544 GB, free: 7.914 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004913/0.1704, allocations: 289.3 kB / 0.6547 GB, free: 7.621 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.1715, allocations: 0.7006 MB / 0.6553 GB, free: 6.918 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.1726, allocations: 0.7859 MB / 0.6561 GB, free: 6.129 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000354/0.173, allocations: 164 kB / 0.6563 GB, free: 5.969 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006514/0.1736, allocations: 299.9 kB / 0.6566 GB, free: 5.676 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.174, allocations: 366.7 kB / 0.6569 GB, free: 5.316 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007825/0.1748, allocations: 0.6683 MB / 0.6576 GB, free: 4.645 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.1769, allocations: 1.982 MB / 0.6595 GB, free: 2.656 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1769, allocations: 0 / 0.6595 GB, free: 2.656 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1769, allocations: 0 / 0.6595 GB, free: 2.656 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.534e-05/0.1769, allocations: 8 kB / 0.6595 GB, free: 2.648 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.007824/0.1848, allocations: 2.271 MB / 0.6617 GB, free: 332 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1848, allocations: 8.031 kB / 0.6617 GB, free: 324 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003715/0.1885, allocations: 0.5496 MB / 0.6623 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/0.1906, allocations: 1.007 MB / 0.6632 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003064/0.191, allocations: 243.5 kB / 0.6635 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.1912, allocations: 67.91 kB / 0.6635 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.1933, allocations: 0.968 MB / 0.6645 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.1933, allocations: 0 / 0.6645 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.466e-05/0.1934, allocations: 28 kB / 0.6645 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.1934, allocations: 16 kB / 0.6645 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.1955, allocations: 0.9225 MB / 0.6654 GB, free: 12.41 MB / 478.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.006614/0.2022, allocations: 3.611 MB / 0.669 GB, free: 8.676 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01463/0.2168, allocations: 3.288 MB / 0.6722 GB, free: 5.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.2182, allocations: 0.5767 MB / 0.6727 GB, free: 4.762 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-05/0.2183, allocations: 8.656 kB / 0.6727 GB, free: 4.754 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.2184, allocations: 47.16 kB / 0.6728 GB, free: 4.699 MB / 478.1 MB Notification: Performance of pre-optimization done (n=76): time 2.625e-06/0.2184, allocations: 0 / 0.6728 GB, free: 4.699 MB / 478.1 MB Notification: Performance of matching and sorting (n=76): time 0.01462/0.233, allocations: 3.951 MB / 0.6766 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.2331, allocations: 115.4 kB / 0.6768 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/0.2354, allocations: 1.173 MB / 0.6779 GB, free: 15.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.2355, allocations: 41.7 kB / 0.6779 GB, free: 15.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/0.2359, allocations: 464.5 kB / 0.6784 GB, free: 14.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/0.2362, allocations: 283.9 kB / 0.6787 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004355/0.2367, allocations: 202.8 kB / 0.6788 GB, free: 14.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.2368, allocations: 349.9 kB / 0.6792 GB, free: 14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.2383, allocations: 0.6619 MB / 0.6798 GB, free: 13.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.2399, allocations: 0.7713 MB / 0.6806 GB, free: 12.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.021/0.2609, allocations: 4.52 MB / 0.685 GB, free: 7.992 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.2609, allocations: 0 / 0.685 GB, free: 7.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00878/0.2697, allocations: 2.769 MB / 0.6877 GB, free: 5.203 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.2697, allocations: 5.25 kB / 0.6877 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.2697, allocations: 3.938 kB / 0.6877 GB, free: 5.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004492/0.2742, allocations: 1.048 MB / 0.6887 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.2755, allocations: 223.7 kB / 0.6889 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.2868, allocations: 5.068 MB / 0.6939 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.2886, allocations: 174.9 kB / 0.6941 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.2888, allocations: 51.86 kB / 0.6941 GB, free: 14.48 MB / 0.4981 GB Warning: Assuming fixed start value for the following 1 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001829/0.2906, allocations: 0.8383 MB / 0.6949 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001462/0.2921, allocations: 0.7517 MB / 0.6957 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02079/0.3129, allocations: 4.454 MB / 0.7 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.167e-06/0.313, allocations: 0 / 0.7 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.008934/0.3219, allocations: 2.711 MB / 0.7027 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3219, allocations: 11.94 kB / 0.7027 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.3219, allocations: 0 / 0.7027 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004524/0.3265, allocations: 1.044 MB / 0.7037 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.3279, allocations: 215.7 kB / 0.7039 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.3392, allocations: 5.089 MB / 0.7089 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.3409, allocations: 151.2 kB / 0.709 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/0.3411, allocations: 35.98 kB / 0.709 GB, free: 14.96 MB / 0.5137 GB Warning: Assuming fixed start value for the following 1 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003895/0.3415, allocations: 232 kB / 0.7093 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.3418, allocations: 114.6 kB / 0.7094 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007287/0.3491, allocations: 2.279 MB / 0.7116 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.3491, allocations: 7.984 kB / 0.7116 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3492, allocations: 3.938 kB / 0.7116 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003741/0.3495, allocations: 223.5 kB / 0.7118 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/0.3498, allocations: 19.98 kB / 0.7118 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.3511, allocations: 103.9 kB / 0.7119 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004494/0.3515, allocations: 196.3 kB / 0.7121 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00599/0.3575, allocations: 1.765 MB / 0.7139 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004204/0.3617, allocations: 2.008 MB / 0.7158 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001206/0.363, allocations: 0.5127 MB / 0.7163 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001621/0.3646, allocations: 0.8153 MB / 0.7171 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of Backend: time 7.01e-07/0.3646, allocations: 0 / 0.7171 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009126/0.3737, allocations: 3.233 MB / 0.7203 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of SimCode: time 0.00341/0.3772, allocations: 2.644 MB / 0.7229 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of Templates: time 0.04294/0.4201, allocations: 28.41 MB / 0.7506 GB, free: 4.199 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)