Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.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.Examples.DAEMode.SMIB_Examples.Example_1.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1368/0.1368, allocations: 12.6 MB / 28.91 MB, free: 0.6367 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.001591/0.001591, allocations: 107.5 kB / 32.51 MB, free: 3.582 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.38/1.38, allocations: 205.1 MB / 241.1 MB, free: 12.36 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.001795/0.001795, allocations: 199.3 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4304/0.4304, allocations: 78.52 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.002752/0.002752, allocations: 141.8 kB / 0.5565 GB, free: 28.31 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1359, allocations: 68.12 MB / 0.623 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3): time 0.009593/0.1455, allocations: 7.978 MB / 0.6308 GB, free: 7.336 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006571/0.1521, allocations: 2.906 MB / 0.6337 GB, free: 4.422 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.1535, allocations: 19.94 kB / 0.6337 GB, free: 4.402 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.1547, allocations: 365 kB / 0.634 GB, free: 4.043 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.003527/0.1582, allocations: 1.212 MB / 0.6352 GB, free: 2.828 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.1606, allocations: 1.053 MB / 0.6363 GB, free: 1.781 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003926/0.1645, allocations: 2.967 MB / 0.6392 GB, free: 14.81 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009453/0.1655, allocations: 0.5851 MB / 0.6397 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.167, allocations: 1.113 MB / 0.6408 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.1685, allocations: 1.222 MB / 0.642 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004054/0.1689, allocations: 268 kB / 0.6423 GB, free: 11.58 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000814/0.1697, allocations: 471.8 kB / 0.6427 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000538/0.1703, allocations: 0.5957 MB / 0.6433 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.1713, allocations: 1.069 MB / 0.6443 GB, free: 9.445 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003469/0.1748, allocations: 3.304 MB / 0.6476 GB, free: 6.129 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1748, allocations: 0 / 0.6476 GB, free: 6.129 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1748, allocations: 3.938 kB / 0.6476 GB, free: 6.125 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.214e-05/0.1749, allocations: 0 / 0.6476 GB, free: 6.125 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.01314/0.188, allocations: 3.887 MB / 0.6514 GB, free: 2.168 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1881, allocations: 11.98 kB / 0.6514 GB, free: 2.156 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003032/0.1911, allocations: 0.5616 MB / 0.6519 GB, free: 1.594 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003474/0.1946, allocations: 1.541 MB / 0.6534 GB, free: 4 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005436/0.1952, allocations: 377.4 kB / 0.6538 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003118/0.1955, allocations: 135.9 kB / 0.6539 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/0.1988, allocations: 1.534 MB / 0.6554 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.1988, allocations: 0 / 0.6554 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.1989, allocations: 48 kB / 0.6555 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.199, allocations: 28 kB / 0.6555 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003555/0.2025, allocations: 1.468 MB / 0.6569 GB, free: 12.29 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.0121/0.2147, allocations: 6.025 MB / 0.6628 GB, free: 6.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01499/0.2297, allocations: 3.988 MB / 0.6667 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002192/0.2319, allocations: 0.841 MB / 0.6675 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.2321, allocations: 20.97 kB / 0.6675 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.2321, allocations: 47.56 kB / 0.6676 GB, free: 1.109 MB / 478.1 MB Notification: Performance of pre-optimization done (n=120): time 3.196e-06/0.2321, allocations: 0 / 0.6676 GB, free: 1.109 MB / 478.1 MB Notification: Performance of matching and sorting (n=124): time 0.02484/0.257, allocations: 7.704 MB / 0.6751 GB, free: 9.254 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.2571, allocations: 218.6 kB / 0.6753 GB, free: 8.992 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004137/0.2613, allocations: 1.812 MB / 0.6771 GB, free: 7.176 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003781/0.2617, allocations: 57.7 kB / 0.6771 GB, free: 7.113 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007965/0.2625, allocations: 0.7191 MB / 0.6778 GB, free: 6.387 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007768/0.2633, allocations: 491.9 kB / 0.6783 GB, free: 5.902 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.2644, allocations: 351.5 kB / 0.6786 GB, free: 5.555 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2645, allocations: 309.1 kB / 0.6789 GB, free: 5.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0026/0.2671, allocations: 1.004 MB / 0.6799 GB, free: 4.242 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002603/0.2697, allocations: 1.205 MB / 0.6811 GB, free: 2.988 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00482/0.2746, allocations: 2.107 MB / 0.6832 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.2746, allocations: 3.938 kB / 0.6832 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of matching and sorting (n=244) (initialization): time 0.009051/0.2837, allocations: 3.533 MB / 0.6866 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/0.2837, allocations: 45.62 kB / 0.6867 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.2838, allocations: 7.938 kB / 0.6867 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007483/0.2913, allocations: 2.02 MB / 0.6886 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.2927, allocations: 275.6 kB / 0.6889 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009993/0.3027, allocations: 4.91 MB / 0.6937 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/0.3053, allocations: 203.8 kB / 0.6939 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002894/0.3056, allocations: 63.98 kB / 0.6939 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002868/0.3085, allocations: 1.273 MB / 0.6952 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002264/0.3108, allocations: 1.166 MB / 0.6963 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004336/0.3151, allocations: 2.045 MB / 0.6983 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.771e-06/0.3151, allocations: 0 / 0.6983 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=244) (initialization_lambda0): time 0.008172/0.3233, allocations: 3.376 MB / 0.7016 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.482e-05/0.3234, allocations: 45.69 kB / 0.7017 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3234, allocations: 0 / 0.7017 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006962/0.3304, allocations: 1.973 MB / 0.7036 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.3318, allocations: 279.6 kB / 0.7039 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00959/0.3414, allocations: 4.9 MB / 0.7086 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/0.3439, allocations: 191.8 kB / 0.7088 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000316/0.3442, allocations: 64.2 kB / 0.7089 GB, free: 5.98 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (G1.hYGOV.Position_Limiter.local_reset,G1.hYGOV.q.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (11,54)} Notification: Performance of prepare postOptimizeDAE: time 0.0005676/0.3448, allocations: 269.5 kB / 0.7091 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000574/0.3454, allocations: 190.7 kB / 0.7093 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009487/0.3549, allocations: 3.147 MB / 0.7124 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/0.3549, allocations: 11.95 kB / 0.7124 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3549, allocations: 0 / 0.7124 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005677/0.3555, allocations: 299.8 kB / 0.7127 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003665/0.3559, allocations: 31.94 kB / 0.7127 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/0.3578, allocations: 187.8 kB / 0.7129 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006996/0.3585, allocations: 264.6 kB / 0.7132 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2847/0.6432, allocations: 3.196 MB / 0.7163 GB, free: 83.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00676/0.65, allocations: 3.199 MB / 0.7194 GB, free: 82.48 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001969/0.652, allocations: 0.8615 MB / 0.7202 GB, free: 82.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002945/0.6549, allocations: 1.26 MB / 0.7215 GB, free: 81.7 MB / 0.5137 GB Notification: Performance of Backend: time 1.804e-06/0.6549, allocations: 0.8125 kB / 0.7215 GB, free: 81.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01454/0.6695, allocations: 4.847 MB / 0.7262 GB, free: 79.74 MB / 0.5137 GB Notification: Performance of SimCode: time 0.005865/0.6754, allocations: 3.975 MB / 0.7301 GB, free: 77.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.05758/0.733, allocations: 42.47 MB / 0.7716 GB, free: 46.41 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)