Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.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.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009572/0.0009572, allocations: 169.3 kB / 16.07 MB, free: 5.551 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.257/1.257, allocations: 222.9 MB / 239.7 MB, free: 10 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.0007617/0.0007617, allocations: 103.3 kB / 290.5 MB, free: 10.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4391/0.4391, allocations: 78.43 MB / 419.6 MB, free: 9.691 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003928, allocations: 12 kB / 499.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2813, allocations: 68.74 MB / 0.5545 GB, free: 20.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004321/0.2857, allocations: 5.169 MB / 0.5596 GB, free: 15.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.288, allocations: 1.638 MB / 0.5612 GB, free: 13.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.2883, allocations: 8 kB / 0.5612 GB, free: 13.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.2886, allocations: 123.2 kB / 0.5613 GB, free: 13.24 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 transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001086/0.2897, allocations: 0.5827 MB / 0.5619 GB, free: 12.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006017/0.2903, allocations: 393.9 kB / 0.5622 GB, free: 12.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006353/0.291, allocations: 1.012 MB / 0.5632 GB, free: 11.26 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.2912, allocations: 194.4 kB / 0.5634 GB, free: 11.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003109/0.2915, allocations: 386.2 kB / 0.5638 GB, free: 10.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003679/0.2919, allocations: 0.4976 MB / 0.5643 GB, free: 10.17 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.749e-05/0.292, allocations: 44 kB / 0.5643 GB, free: 10.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.2923, allocations: 171.9 kB / 0.5645 GB, free: 9.961 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2924, allocations: 167.2 kB / 0.5646 GB, free: 9.797 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.2926, allocations: 421.4 kB / 0.565 GB, free: 9.383 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006677/0.2933, allocations: 1.173 MB / 0.5662 GB, free: 8.207 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2933, allocations: 0 / 0.5662 GB, free: 8.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2933, allocations: 4 kB / 0.5662 GB, free: 8.203 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.2934, allocations: 0 / 0.5662 GB, free: 8.203 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.004483/0.2978, allocations: 1.597 MB / 0.5677 GB, free: 6.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.2979, allocations: 12.03 kB / 0.5677 GB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003108/0.301, allocations: 0.5147 MB / 0.5682 GB, free: 6.027 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008542/0.3019, allocations: 0.6431 MB / 0.5689 GB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.302, allocations: 142.1 kB / 0.569 GB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.301e-05/0.3021, allocations: 51.91 kB / 0.5691 GB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.3032, allocations: 0.6584 MB / 0.5697 GB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.3033, allocations: 4 kB / 0.5697 GB, free: 4.469 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.565e-05/0.3033, allocations: 20 kB / 0.5697 GB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.3033, allocations: 12 kB / 0.5697 GB, free: 4.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.3044, allocations: 0.6363 MB / 0.5704 GB, free: 3.797 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.003627/0.308, allocations: 2.631 MB / 0.5729 GB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/0.3195, allocations: 2.812 MB / 0.5757 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000957/0.3205, allocations: 452.2 kB / 0.5761 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.932e-05/0.3206, allocations: 8.562 kB / 0.5761 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.3206, allocations: 35.12 kB / 0.5761 GB, free: 13.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=57): time 3.416e-06/0.3206, allocations: 0 / 0.5761 GB, free: 13.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.01217/0.3328, allocations: 3.539 MB / 0.5796 GB, free: 10.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.3329, allocations: 55.97 kB / 0.5797 GB, free: 10.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.3341, allocations: 0.7622 MB / 0.5804 GB, free: 9.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-05/0.3342, allocations: 37.7 kB / 0.5804 GB, free: 9.207 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/0.3345, allocations: 352.6 kB / 0.5808 GB, free: 8.855 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.3347, allocations: 216.9 kB / 0.581 GB, free: 8.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.3349, allocations: 89.66 kB / 0.5811 GB, free: 8.547 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3351, allocations: 398.7 kB / 0.5814 GB, free: 8.148 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.3361, allocations: 0.4939 MB / 0.5819 GB, free: 7.656 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.3373, allocations: 0.5992 MB / 0.5825 GB, free: 7.031 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01546/0.3527, allocations: 3.552 MB / 0.586 GB, free: 3.453 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.3528, allocations: 0 / 0.586 GB, free: 3.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007594/0.3604, allocations: 2.403 MB / 0.5883 GB, free: 1.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.3605, allocations: 4 kB / 0.5883 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.3605, allocations: 4 kB / 0.5883 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004218/0.3647, allocations: 1.043 MB / 0.5894 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000842/0.3656, allocations: 155.7 kB / 0.5895 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.3759, allocations: 4.703 MB / 0.5941 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.3772, allocations: 115.2 kB / 0.5942 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.3774, allocations: 35.98 kB / 0.5942 GB, free: 10.83 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * 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.0005781/0.378, allocations: 209.6 kB / 0.5944 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.3782, allocations: 86.97 kB / 0.5945 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005964/0.3842, allocations: 1.945 MB / 0.5964 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.3842, allocations: 4 kB / 0.5964 GB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3842, allocations: 0 / 0.5964 GB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/0.3845, allocations: 175.9 kB / 0.5966 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.3847, allocations: 12 kB / 0.5966 GB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007896/0.3855, allocations: 51.94 kB / 0.5967 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004192/0.386, allocations: 176.2 kB / 0.5968 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004252/0.3902, allocations: 1.371 MB / 0.5982 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002777/0.393, allocations: 1.457 MB / 0.5996 GB, free: 5.266 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007694/0.3938, allocations: 360.3 kB / 0.5999 GB, free: 4.914 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007811/0.3946, allocations: 0.5147 MB / 0.6004 GB, free: 4.406 MB / 410.7 MB Notification: Performance of Backend: time 8.42e-07/0.3946, allocations: 4 kB / 0.6004 GB, free: 4.402 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004481/0.3991, allocations: 1.529 MB / 0.6019 GB, free: 2.816 MB / 410.7 MB Notification: Performance of SimCode: time 0.00315/0.4023, allocations: 2.305 MB / 0.6042 GB, free: 460 kB / 410.7 MB Notification: Performance of Templates: time 0.02321/0.4255, allocations: 13.59 MB / 0.6175 GB, free: 2.879 MB / 426.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)