Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.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_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009295/0.0009296, allocations: 175.5 kB / 16.08 MB, free: 5.723 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.249/1.249, allocations: 222.9 MB / 239.7 MB, free: 10.14 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.0007673/0.0007673, allocations: 108.7 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.4143/0.4143, allocations: 78.43 MB / 419.6 MB, free: 9.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003549, allocations: 8 kB / 499.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2566, 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_1Mod.Network): time 0.004633/0.2612, allocations: 5.702 MB / 0.5601 GB, free: 14.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.264, allocations: 1.836 MB / 0.5619 GB, free: 12.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005007/0.2645, allocations: 12 kB / 0.5619 GB, free: 12.65 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.265, allocations: 131.1 kB / 0.562 GB, free: 12.52 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.001314/0.2663, allocations: 0.6001 MB / 0.5626 GB, free: 11.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007941/0.2671, allocations: 485.4 kB / 0.5631 GB, free: 11.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008043/0.2679, allocations: 1.179 MB / 0.5642 GB, free: 10.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.2682, allocations: 238.8 kB / 0.5645 GB, free: 10.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003516/0.2685, allocations: 433.9 kB / 0.5649 GB, free: 9.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004231/0.269, allocations: 0.5599 MB / 0.5654 GB, free: 9.027 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.023e-05/0.2691, allocations: 52 kB / 0.5655 GB, free: 8.977 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.2694, allocations: 187.9 kB / 0.5656 GB, free: 8.793 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.2695, allocations: 199 kB / 0.5658 GB, free: 8.598 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.2698, allocations: 473.1 kB / 0.5663 GB, free: 8.133 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007827/0.2706, allocations: 1.415 MB / 0.5677 GB, free: 6.715 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2706, allocations: 4 kB / 0.5677 GB, free: 6.711 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2706, allocations: 0 / 0.5677 GB, free: 6.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.2706, allocations: 0 / 0.5677 GB, free: 6.711 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.004642/0.2752, allocations: 1.726 MB / 0.5694 GB, free: 4.934 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2753, allocations: 8.031 kB / 0.5694 GB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003202/0.2785, allocations: 0.5304 MB / 0.5699 GB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008794/0.2794, allocations: 0.7132 MB / 0.5706 GB, free: 3.641 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.2796, allocations: 209.8 kB / 0.5708 GB, free: 3.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.2797, allocations: 60 kB / 0.5708 GB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.281, allocations: 0.8422 MB / 0.5717 GB, free: 2.492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.281, allocations: 0 / 0.5717 GB, free: 2.492 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.629e-05/0.2811, allocations: 28 kB / 0.5717 GB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.2811, allocations: 16 kB / 0.5717 GB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.2823, allocations: 0.7157 MB / 0.5724 GB, free: 1.734 MB / 378.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.004726/0.287, allocations: 3.185 MB / 0.5755 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01192/0.299, allocations: 3.001 MB / 0.5784 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.3001, allocations: 0.4983 MB / 0.5789 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.913e-05/0.3002, allocations: 12.56 kB / 0.5789 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.3002, allocations: 35.12 kB / 0.579 GB, free: 10.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=69): time 5.651e-06/0.3002, allocations: 4 kB / 0.579 GB, free: 10.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=69): time 0.01171/0.312, allocations: 3.597 MB / 0.5825 GB, free: 7.113 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.312, allocations: 85.67 kB / 0.5826 GB, free: 7.012 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.3131, allocations: 0.8054 MB / 0.5834 GB, free: 6.195 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.3132, allocations: 37.7 kB / 0.5834 GB, free: 6.152 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.3135, allocations: 392.4 kB / 0.5838 GB, free: 5.762 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.3138, allocations: 260.3 kB / 0.584 GB, free: 5.504 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.3139, allocations: 93.66 kB / 0.5841 GB, free: 5.406 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.314, allocations: 345.9 kB / 0.5844 GB, free: 5.062 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.3151, allocations: 0.5648 MB / 0.585 GB, free: 4.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.3163, allocations: 0.6811 MB / 0.5856 GB, free: 3.789 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0178/0.3341, allocations: 4.083 MB / 0.5896 GB, free: 15.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.3342, allocations: 0 / 0.5896 GB, free: 15.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.007562/0.3418, allocations: 2.59 MB / 0.5922 GB, free: 13.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.816e-05/0.3419, allocations: 147 kB / 0.5923 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3419, allocations: 0 / 0.5923 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004161/0.3461, allocations: 1.09 MB / 0.5934 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009288/0.347, allocations: 175.7 kB / 0.5935 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.3574, allocations: 4.987 MB / 0.5984 GB, free: 6.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.3588, allocations: 123.1 kB / 0.5985 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/0.3589, allocations: 39.98 kB / 0.5986 GB, free: 6.336 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.243e-06/0.3589, allocations: 0 / 0.5986 GB, free: 6.336 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007625/0.3665, allocations: 2.461 MB / 0.601 GB, free: 3.859 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.3666, allocations: 4 kB / 0.601 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004303/0.3709, allocations: 1.082 MB / 0.602 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008514/0.3717, allocations: 167.7 kB / 0.6022 GB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009863/0.3816, allocations: 4.99 MB / 0.6071 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.3827, allocations: 115.2 kB / 0.6072 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/0.3828, allocations: 35.98 kB / 0.6072 GB, free: 13.33 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real 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: 8 * Number of states: 0 () * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * 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 {(9,15,45.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005171/0.3833, allocations: 305 kB / 0.6075 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.3835, allocations: 90.88 kB / 0.6076 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006008/0.3895, allocations: 2.116 MB / 0.6096 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.3895, allocations: 3.984 kB / 0.6097 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3895, allocations: 4.312 kB / 0.6097 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.3897, allocations: 183.8 kB / 0.6098 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.3898, allocations: 23.92 kB / 0.6099 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007385/0.3906, allocations: 63.88 kB / 0.6099 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004188/0.391, allocations: 192.2 kB / 0.6101 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004659/0.3957, allocations: 1.546 MB / 0.6116 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002933/0.3986, allocations: 1.661 MB / 0.6132 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008767/0.3995, allocations: 425 kB / 0.6136 GB, free: 6.656 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006598/0.4002, allocations: 0.5381 MB / 0.6142 GB, free: 6.121 MB / 426.7 MB Notification: Performance of Backend: time 5.71e-07/0.4002, allocations: 4 kB / 0.6142 GB, free: 6.117 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00788/0.4081, allocations: 3.119 MB / 0.6172 GB, free: 2.887 MB / 426.7 MB Notification: Performance of SimCode: time 0.002828/0.4109, allocations: 2.612 MB / 0.6198 GB, free: 232 kB / 426.7 MB Notification: Performance of Templates: time 0.03183/0.4428, allocations: 22.59 MB / 0.6418 GB, free: 9.68 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)