Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 106.4 kB / 16.41 MB, free: 6.387 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.426/1.426, allocations: 222.9 MB / 240.1 MB, free: 4.555 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.001391/0.001391, allocations: 191.6 kB / 290.4 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5035/0.5035, allocations: 91.91 MB / 432.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 83.03 kB / 0.5734 GB, free: 33.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1114, allocations: 71.29 MB / 0.643 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1): time 0.006129/0.1175, allocations: 5.249 MB / 0.6481 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003622/0.1212, allocations: 1.762 MB / 0.6498 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006455/0.1218, allocations: 4 kB / 0.6498 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004898/0.1224, allocations: 162.6 kB / 0.65 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.1242, allocations: 0.6876 MB / 0.6507 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.1253, allocations: 0.496 MB / 0.6512 GB, free: 11.22 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.1267, allocations: 1.211 MB / 0.6523 GB, free: 10 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/0.1271, allocations: 242.3 kB / 0.6526 GB, free: 9.754 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006368/0.1277, allocations: 494.1 kB / 0.653 GB, free: 9.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006713/0.1284, allocations: 0.6029 MB / 0.6536 GB, free: 8.664 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.1286, allocations: 112 kB / 0.6537 GB, free: 8.555 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004297/0.129, allocations: 247.9 kB / 0.654 GB, free: 8.312 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.1292, allocations: 255.1 kB / 0.6542 GB, free: 8.062 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00044/0.1297, allocations: 0.509 MB / 0.6547 GB, free: 7.551 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.131, allocations: 1.444 MB / 0.6561 GB, free: 6.102 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1311, allocations: 3.984 kB / 0.6561 GB, free: 6.098 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1311, allocations: 3.938 kB / 0.6561 GB, free: 6.094 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.1311, allocations: 0 / 0.6561 GB, free: 6.094 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.00547/0.1366, allocations: 1.884 MB / 0.658 GB, free: 4.156 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1366, allocations: 8.031 kB / 0.658 GB, free: 4.148 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003352/0.14, allocations: 0.531 MB / 0.6585 GB, free: 3.617 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.141, allocations: 0.6943 MB / 0.6592 GB, free: 2.883 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.1412, allocations: 150.4 kB / 0.6593 GB, free: 2.719 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.1414, allocations: 56 kB / 0.6594 GB, free: 2.664 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.1429, allocations: 0.7876 MB / 0.6601 GB, free: 1.863 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1429, allocations: 0 / 0.6601 GB, free: 1.863 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.842e-05/0.143, allocations: 20 kB / 0.6602 GB, free: 1.844 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.143, allocations: 12 kB / 0.6602 GB, free: 1.832 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.1444, allocations: 0.6883 MB / 0.6608 GB, free: 1.145 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.004857/0.1493, allocations: 2.898 MB / 0.6637 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/0.1614, allocations: 2.957 MB / 0.6666 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.1625, allocations: 500 kB / 0.667 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.971e-05/0.1627, allocations: 8.547 kB / 0.667 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.1627, allocations: 43.12 kB / 0.6671 GB, free: 10.56 MB / 478.1 MB Notification: Performance of pre-optimization done (n=64): time 2.935e-06/0.1627, allocations: 0 / 0.6671 GB, free: 10.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=64): time 0.01334/0.1761, allocations: 3.664 MB / 0.6707 GB, free: 6.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.1761, allocations: 85.67 kB / 0.6708 GB, free: 6.719 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.1773, allocations: 0.7938 MB / 0.6715 GB, free: 5.91 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-05/0.1774, allocations: 41.7 kB / 0.6716 GB, free: 5.863 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.1777, allocations: 377.1 kB / 0.6719 GB, free: 5.492 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.1779, allocations: 253.8 kB / 0.6722 GB, free: 5.242 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003662/0.1783, allocations: 186.6 kB / 0.6723 GB, free: 5.055 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1784, allocations: 345.9 kB / 0.6727 GB, free: 4.711 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.1796, allocations: 0.5553 MB / 0.6732 GB, free: 4.152 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.1808, allocations: 0.6499 MB / 0.6739 GB, free: 3.473 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01829/0.1991, allocations: 4.017 MB / 0.6778 GB, free: 15.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.1991, allocations: 0 / 0.6778 GB, free: 15.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007701/0.2068, allocations: 2.513 MB / 0.6802 GB, free: 12.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.2069, allocations: 8 kB / 0.6802 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.2069, allocations: 0 / 0.6802 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00422/0.2111, allocations: 1.046 MB / 0.6813 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008978/0.212, allocations: 171.8 kB / 0.6814 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.2228, allocations: 5.082 MB / 0.6864 GB, free: 6.445 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.224, allocations: 127.3 kB / 0.6865 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.2241, allocations: 39.98 kB / 0.6865 GB, free: 6.281 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00142/0.2256, allocations: 0.6946 MB / 0.6872 GB, free: 5.582 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001185/0.2268, allocations: 0.6382 MB / 0.6878 GB, free: 4.922 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01796/0.2448, allocations: 3.997 MB / 0.6917 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.877e-06/0.2448, allocations: 0 / 0.6917 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.007271/0.2521, allocations: 2.482 MB / 0.6942 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2521, allocations: 5.094 kB / 0.6942 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.2521, allocations: 12 kB / 0.6942 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004048/0.2562, allocations: 1.054 MB / 0.6952 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008617/0.2571, allocations: 163.8 kB / 0.6954 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.2674, allocations: 5.071 MB / 0.7003 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.2686, allocations: 119.4 kB / 0.7004 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-05/0.2687, allocations: 32 kB / 0.7005 GB, free: 7.801 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real G1.order6.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: 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 (104): * Single equations (assignments): 101 * 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.0003225/0.269, allocations: 236.8 kB / 0.7007 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.2691, allocations: 91.39 kB / 0.7008 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00613/0.2753, allocations: 2.036 MB / 0.7028 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.2753, allocations: 3.984 kB / 0.7028 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2753, allocations: 0 / 0.7028 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.2755, allocations: 192.3 kB / 0.703 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.2757, allocations: 8 kB / 0.703 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007623/0.2764, allocations: 63.94 kB / 0.703 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004103/0.2768, allocations: 184.3 kB / 0.7032 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004649/0.2815, allocations: 1.502 MB / 0.7047 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002959/0.2845, allocations: 1.605 MB / 0.7062 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008551/0.2853, allocations: 404.3 kB / 0.7066 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006633/0.286, allocations: 0.5342 MB / 0.7071 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of Backend: time 5.31e-07/0.286, allocations: 4 kB / 0.7071 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007793/0.2938, allocations: 2.993 MB / 0.7101 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002672/0.2965, allocations: 2.226 MB / 0.7122 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of Templates: time 0.04016/0.3367, allocations: 24.01 MB / 0.7357 GB, free: 3.516 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)