Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008715/0.0008716, allocations: 180.3 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.285/1.285, allocations: 222.9 MB / 239.7 MB, free: 10.2 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.0007613/0.0007613, allocations: 97.48 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.4345/0.4345, allocations: 78.43 MB / 419.6 MB, free: 9.742 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003368, allocations: 12.2 kB / 499.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2605, allocations: 68.74 MB / 0.5545 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1): time 0.005988/0.2665, allocations: 5.502 MB / 0.5599 GB, free: 14.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003377/0.2699, allocations: 1.798 MB / 0.5617 GB, free: 12.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005302/0.2705, allocations: 8 kB / 0.5617 GB, free: 12.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004132/0.271, allocations: 135.1 kB / 0.5618 GB, free: 12.75 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.001592/0.2726, allocations: 0.5871 MB / 0.5624 GB, free: 12.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.2736, allocations: 473.4 kB / 0.5628 GB, free: 11.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.2746, allocations: 1.132 MB / 0.5639 GB, free: 10.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003443/0.275, allocations: 210.8 kB / 0.5641 GB, free: 10.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.2754, allocations: 426 kB / 0.5645 GB, free: 9.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005563/0.276, allocations: 0.5288 MB / 0.565 GB, free: 9.398 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.2761, allocations: 48 kB / 0.5651 GB, free: 9.352 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/0.2766, allocations: 171.9 kB / 0.5653 GB, free: 9.184 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.2767, allocations: 195 kB / 0.5654 GB, free: 8.992 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003409/0.2771, allocations: 449.2 kB / 0.5659 GB, free: 8.551 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.2782, allocations: 1.345 MB / 0.5672 GB, free: 7.203 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2783, allocations: 4 kB / 0.5672 GB, free: 7.199 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2783, allocations: 0 / 0.5672 GB, free: 7.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.2783, allocations: 4 kB / 0.5672 GB, free: 7.195 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.006129/0.2844, allocations: 1.663 MB / 0.5688 GB, free: 5.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.2845, allocations: 8.031 kB / 0.5688 GB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004417/0.2889, allocations: 0.5188 MB / 0.5693 GB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.2901, allocations: 0.6897 MB / 0.57 GB, free: 4.223 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.2903, allocations: 146.3 kB / 0.5701 GB, free: 4.062 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.2905, allocations: 63.84 kB / 0.5702 GB, free: 4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.2922, allocations: 0.7915 MB / 0.571 GB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.2923, allocations: 0 / 0.571 GB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.883e-05/0.2924, allocations: 24 kB / 0.571 GB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.2924, allocations: 12 kB / 0.571 GB, free: 3.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.2941, allocations: 0.6844 MB / 0.5717 GB, free: 2.477 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.005735/0.2998, allocations: 2.909 MB / 0.5745 GB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01641/0.3162, allocations: 2.964 MB / 0.5774 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.3178, allocations: 496.2 kB / 0.5779 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.3179, allocations: 12.55 kB / 0.5779 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.318, allocations: 43.12 kB / 0.5779 GB, free: 11.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=64): time 4.609e-06/0.318, allocations: 0 / 0.5779 GB, free: 11.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=64): time 0.01714/0.3351, allocations: 3.664 MB / 0.5815 GB, free: 8.137 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.3352, allocations: 85.67 kB / 0.5816 GB, free: 8.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.3368, allocations: 0.7821 MB / 0.5824 GB, free: 7.242 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.337, allocations: 41.7 kB / 0.5824 GB, free: 7.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000401/0.3374, allocations: 384.5 kB / 0.5828 GB, free: 6.816 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/0.3378, allocations: 228.7 kB / 0.583 GB, free: 6.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.338, allocations: 97.66 kB / 0.5831 GB, free: 6.488 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3382, allocations: 345.9 kB / 0.5834 GB, free: 6.145 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.3393, allocations: 0.5408 MB / 0.5839 GB, free: 5.605 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.3406, allocations: 0.6577 MB / 0.5846 GB, free: 4.918 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01864/0.3592, allocations: 4.028 MB / 0.5885 GB, free: 0.875 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.3593, allocations: 3.938 kB / 0.5885 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00771/0.367, allocations: 2.509 MB / 0.591 GB, free: 14.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.763e-05/0.3671, allocations: 142.1 kB / 0.5911 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3671, allocations: 0 / 0.5911 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004275/0.3714, allocations: 1.038 MB / 0.5921 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009747/0.3724, allocations: 175.7 kB / 0.5923 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.3827, allocations: 4.706 MB / 0.5969 GB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.384, allocations: 123.1 kB / 0.597 GB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.3842, allocations: 39.92 kB / 0.597 GB, free: 7.953 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.3842, allocations: 4 kB / 0.597 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007366/0.3916, allocations: 2.383 MB / 0.5994 GB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.3917, allocations: 7.922 kB / 0.5994 GB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004302/0.396, allocations: 1.043 MB / 0.6004 GB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008909/0.3969, allocations: 167.7 kB / 0.6006 GB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009885/0.4068, allocations: 4.714 MB / 0.6052 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.408, allocations: 107.2 kB / 0.6053 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.4082, allocations: 36 kB / 0.6053 GB, free: 15.33 MB / 426.7 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: 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.0006271/0.4089, allocations: 296.9 kB / 0.6056 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.4091, allocations: 86.97 kB / 0.6057 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006209/0.4153, allocations: 2.043 MB / 0.6077 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.4154, allocations: 3.984 kB / 0.6077 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4154, allocations: 0 / 0.6077 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.4157, allocations: 187.8 kB / 0.6078 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.4159, allocations: 12 kB / 0.6078 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008336/0.4167, allocations: 51.94 kB / 0.6079 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004313/0.4172, allocations: 192.1 kB / 0.6081 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004767/0.422, allocations: 1.496 MB / 0.6095 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003135/0.4251, allocations: 1.608 MB / 0.6111 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000847/0.426, allocations: 404.3 kB / 0.6115 GB, free: 8.891 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007823/0.4268, allocations: 0.5381 MB / 0.612 GB, free: 8.355 MB / 426.7 MB Notification: Performance of Backend: time 4.81e-07/0.4268, allocations: 0 / 0.612 GB, free: 8.355 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007778/0.4346, allocations: 2.987 MB / 0.6149 GB, free: 5.25 MB / 426.7 MB Notification: Performance of SimCode: time 0.002838/0.4374, allocations: 2.479 MB / 0.6174 GB, free: 2.719 MB / 426.7 MB Notification: Performance of Templates: time 0.0342/0.4717, allocations: 21.85 MB / 0.6387 GB, free: 12.9 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)