Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_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_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009536/0.0009537, allocations: 174.8 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 222.9 MB / 239.7 MB, free: 10.21 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007655/0.0007656, allocations: 92.91 kB / 290.5 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4356/0.4356, allocations: 78.42 MB / 419.6 MB, free: 9.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 16.22 kB / 499.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2747, allocations: 68.75 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network): time 0.005285/0.28, allocations: 6.176 MB / 0.5606 GB, free: 14.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00346/0.2835, allocations: 2.164 MB / 0.5627 GB, free: 11.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008915/0.2844, allocations: 8 kB / 0.5627 GB, free: 11.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006179/0.2851, allocations: 186.9 kB / 0.5629 GB, free: 11.67 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.00159/0.2867, allocations: 0.7024 MB / 0.5635 GB, free: 10.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.2878, allocations: 0.6628 MB / 0.5642 GB, free: 10.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.289, allocations: 1.687 MB / 0.5658 GB, free: 8.609 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.2893, allocations: 270.2 kB / 0.5661 GB, free: 8.332 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005446/0.2898, allocations: 0.56 MB / 0.5666 GB, free: 7.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005625/0.2904, allocations: 0.6805 MB / 0.5673 GB, free: 7.086 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.2906, allocations: 60 kB / 0.5674 GB, free: 7.027 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.291, allocations: 187.9 kB / 0.5675 GB, free: 6.844 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.2912, allocations: 258.8 kB / 0.5678 GB, free: 6.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.2915, allocations: 0.5591 MB / 0.5683 GB, free: 6.027 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.2926, allocations: 1.849 MB / 0.5701 GB, free: 4.172 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2926, allocations: 0 / 0.5701 GB, free: 4.172 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.2926, allocations: 0 / 0.5701 GB, free: 4.172 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.2926, allocations: 4 kB / 0.5701 GB, free: 4.168 MB / 378.7 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.00579/0.2984, allocations: 2.022 MB / 0.5721 GB, free: 2.094 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.2985, allocations: 8.031 kB / 0.5721 GB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003198/0.3017, allocations: 0.5574 MB / 0.5727 GB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.3033, allocations: 0.9987 MB / 0.5736 GB, free: 484 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.3035, allocations: 235.5 kB / 0.5739 GB, free: 212 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.3037, allocations: 76 kB / 0.5739 GB, free: 136 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.3055, allocations: 0.968 MB / 0.5749 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.3056, allocations: 0 / 0.5749 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.324e-05/0.3057, allocations: 24 kB / 0.5749 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.3057, allocations: 16 kB / 0.5749 GB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.3076, allocations: 0.9148 MB / 0.5758 GB, free: 14.19 MB / 394.7 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.006183/0.3138, allocations: 3.646 MB / 0.5794 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/0.3267, allocations: 3.266 MB / 0.5826 GB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.3283, allocations: 0.5789 MB / 0.5831 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.955e-05/0.3284, allocations: 16.58 kB / 0.5832 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.3284, allocations: 47.22 kB / 0.5832 GB, free: 6.457 MB / 394.7 MB Notification: Performance of pre-optimization done (n=76): time 3.386e-06/0.3284, allocations: 3.938 kB / 0.5832 GB, free: 6.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=76): time 0.01356/0.342, allocations: 3.955 MB / 0.5871 GB, free: 2.426 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.3421, allocations: 111.5 kB / 0.5872 GB, free: 2.293 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/0.3441, allocations: 1.165 MB / 0.5883 GB, free: 1.109 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.3443, allocations: 41.7 kB / 0.5883 GB, free: 1.062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.3447, allocations: 468.5 kB / 0.5888 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/0.3449, allocations: 284 kB / 0.5891 GB, free: 324 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.3451, allocations: 105.7 kB / 0.5892 GB, free: 212 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3453, allocations: 341.9 kB / 0.5895 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.3466, allocations: 0.6507 MB / 0.5901 GB, free: 15.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.348, allocations: 0.779 MB / 0.5909 GB, free: 14.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0194/0.3674, allocations: 4.515 MB / 0.5953 GB, free: 9.871 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3674, allocations: 4 kB / 0.5953 GB, free: 9.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.007831/0.3753, allocations: 2.769 MB / 0.598 GB, free: 7.078 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.71e-05/0.3754, allocations: 143.3 kB / 0.5981 GB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.3754, allocations: 4 kB / 0.5981 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004135/0.3795, allocations: 1.042 MB / 0.5992 GB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.3808, allocations: 219.7 kB / 0.5994 GB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009777/0.3906, allocations: 4.73 MB / 0.604 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.3924, allocations: 167 kB / 0.6042 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.3925, allocations: 39.98 kB / 0.6042 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.116e-06/0.3925, allocations: 4 kB / 0.6042 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007385/0.3999, allocations: 2.593 MB / 0.6067 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.4, allocations: 4 kB / 0.6067 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003968/0.404, allocations: 1.042 MB / 0.6077 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.4052, allocations: 211.7 kB / 0.608 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009839/0.4151, allocations: 4.71 MB / 0.6125 GB, free: 7.848 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.4167, allocations: 155.1 kB / 0.6127 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.872e-05/0.4169, allocations: 35.98 kB / 0.6127 GB, free: 7.66 MB / 426.7 MB 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.0006994/0.4176, allocations: 356.9 kB / 0.6131 GB, free: 7.301 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.4178, allocations: 110.6 kB / 0.6132 GB, free: 7.191 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006495/0.4243, allocations: 2.291 MB / 0.6154 GB, free: 4.883 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/0.4243, allocations: 0 / 0.6154 GB, free: 4.883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4243, allocations: 7.922 kB / 0.6154 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/0.4247, allocations: 227.5 kB / 0.6156 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.4249, allocations: 19.94 kB / 0.6157 GB, free: 4.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.426, allocations: 99.86 kB / 0.6158 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004216/0.4264, allocations: 192.2 kB / 0.6159 GB, free: 4.328 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005351/0.4318, allocations: 1.764 MB / 0.6177 GB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004467/0.4363, allocations: 2.011 MB / 0.6196 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001306/0.4376, allocations: 0.5205 MB / 0.6201 GB, free: 15.99 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001783/0.4394, allocations: 0.8192 MB / 0.6209 GB, free: 15.16 MB / 442.7 MB Notification: Performance of Backend: time 1.042e-06/0.4394, allocations: 0 / 0.6209 GB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00815/0.4476, allocations: 3.234 MB / 0.6241 GB, free: 11.82 MB / 442.7 MB Notification: Performance of SimCode: time 0.00345/0.4511, allocations: 3 MB / 0.627 GB, free: 8.762 MB / 442.7 MB Notification: Performance of Templates: time 0.04093/0.492, allocations: 25.9 MB / 0.6523 GB, free: 14.93 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)