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: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008798/0.0008798, allocations: 175.3 kB / 15.42 MB, free: 6.211 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.274/1.274, allocations: 222.8 MB / 239 MB, free: 1.805 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007351/0.0007352, allocations: 85.97 kB / 289.8 MB, free: 14.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4889/0.4889, allocations: 78.43 MB / 418.9 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.000358, allocations: 12 kB / 498.5 MB, free: 3.758 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3541, allocations: 68.73 MB / 0.554 GB, free: 39.67 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006123/0.3603, allocations: 5.172 MB / 0.559 GB, free: 38.03 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00299/0.3633, allocations: 1.642 MB / 0.5606 GB, free: 37.34 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002991/0.3636, allocations: 8 kB / 0.5606 GB, free: 37.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.364, allocations: 132.5 kB / 0.5608 GB, free: 37.29 MB / 426.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.001326/0.3654, allocations: 0.571 MB / 0.5613 GB, free: 37.04 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008046/0.3662, allocations: 404.9 kB / 0.5617 GB, free: 36.96 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.3673, allocations: 1.02 MB / 0.5627 GB, free: 36.72 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.3676, allocations: 184 kB / 0.5629 GB, free: 36.66 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004704/0.3681, allocations: 381.4 kB / 0.5632 GB, free: 36.55 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005901/0.3687, allocations: 0.4931 MB / 0.5637 GB, free: 36.42 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.3688, allocations: 44.44 kB / 0.5638 GB, free: 36.42 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004321/0.3692, allocations: 186.2 kB / 0.5639 GB, free: 36.4 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.3695, allocations: 172.8 kB / 0.5641 GB, free: 36.35 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004558/0.3699, allocations: 413.2 kB / 0.5645 GB, free: 36.2 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.3711, allocations: 1.179 MB / 0.5656 GB, free: 35.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3711, allocations: 1.031 kB / 0.5656 GB, free: 35.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3711, allocations: 0 / 0.5656 GB, free: 35.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.3711, allocations: 0 / 0.5656 GB, free: 35.94 MB / 426.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.004665/0.3758, allocations: 1.591 MB / 0.5672 GB, free: 35.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3759, allocations: 10.34 kB / 0.5672 GB, free: 35.22 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.376, allocations: 93.34 kB / 0.5673 GB, free: 35.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003168/0.3792, allocations: 0.5186 MB / 0.5678 GB, free: 35.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008326/0.38, allocations: 0.6516 MB / 0.5684 GB, free: 34.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.3802, allocations: 142.8 kB / 0.5686 GB, free: 34.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.3803, allocations: 56.34 kB / 0.5686 GB, free: 34.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.3816, allocations: 0.6528 MB / 0.5693 GB, free: 34.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.3816, allocations: 4 kB / 0.5693 GB, free: 34.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.296e-05/0.3817, allocations: 18.77 kB / 0.5693 GB, free: 34.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.3817, allocations: 15.53 kB / 0.5693 GB, free: 34.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.3829, allocations: 0.6276 MB / 0.5699 GB, free: 33.96 MB / 426.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.004062/0.387, allocations: 2.629 MB / 0.5725 GB, free: 32.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.3973, allocations: 2.817 MB / 0.5752 GB, free: 31.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008158/0.3982, allocations: 444.8 kB / 0.5757 GB, free: 31.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.47e-05/0.3983, allocations: 10.33 kB / 0.5757 GB, free: 31.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.3983, allocations: 37.94 kB / 0.5757 GB, free: 31.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 2.996e-06/0.3983, allocations: 0 / 0.5757 GB, free: 31.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.01109/0.4094, allocations: 3.531 MB / 0.5792 GB, free: 30.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.4095, allocations: 61.72 kB / 0.5792 GB, free: 30.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.4105, allocations: 0.7741 MB / 0.58 GB, free: 30.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.445e-05/0.4106, allocations: 36.61 kB / 0.58 GB, free: 30.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.4108, allocations: 353.9 kB / 0.5803 GB, free: 29.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.411, allocations: 214.6 kB / 0.5805 GB, free: 29.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.4111, allocations: 85.25 kB / 0.5806 GB, free: 29.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.4112, allocations: 392.4 kB / 0.581 GB, free: 29.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008232/0.412, allocations: 0.4962 MB / 0.5815 GB, free: 29.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008795/0.4129, allocations: 0.5946 MB / 0.5821 GB, free: 28.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01349/0.4264, allocations: 3.557 MB / 0.5855 GB, free: 27.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/0.4264, allocations: 0 / 0.5855 GB, free: 27.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006465/0.4329, allocations: 2.384 MB / 0.5879 GB, free: 27.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.433, allocations: 6.562 kB / 0.5879 GB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.433, allocations: 3.219 kB / 0.5879 GB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003688/0.4367, allocations: 1.053 MB / 0.5889 GB, free: 26.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007444/0.4374, allocations: 152.4 kB / 0.589 GB, free: 26.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009187/0.4466, allocations: 4.714 MB / 0.5937 GB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.4479, allocations: 111.4 kB / 0.5938 GB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.4481, allocations: 37.36 kB / 0.5938 GB, free: 24.22 MB / 426.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.0004767/0.4486, allocations: 211 kB / 0.594 GB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.4488, allocations: 80.75 kB / 0.5941 GB, free: 24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005807/0.4546, allocations: 1.941 MB / 0.596 GB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.4547, allocations: 5.969 kB / 0.596 GB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.4547, allocations: 5.125 kB / 0.596 GB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.4547, allocations: 3 kB / 0.596 GB, free: 23.42 MB / 426.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 postOpt removeSimpleEquations (simulation): time 0.007412/0.4621, allocations: 3.039 MB / 0.599 GB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.4621, allocations: 0.6094 kB / 0.599 GB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/0.4626, allocations: 66.09 kB / 0.599 GB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003269/0.4659, allocations: 0.9336 MB / 0.5999 GB, free: 21.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-05/0.4659, allocations: 12.11 kB / 0.5999 GB, free: 21.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007549/0.4735, allocations: 3.795 MB / 0.6036 GB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4735, allocations: 4 kB / 0.6036 GB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006561/0.4801, allocations: 2.515 MB / 0.6061 GB, free: 18.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/0.4805, allocations: 180.2 kB / 0.6063 GB, free: 18.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.4807, allocations: 15.5 kB / 0.6063 GB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007905/0.4815, allocations: 51.31 kB / 0.6063 GB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003496/0.4819, allocations: 119.2 kB / 0.6065 GB, free: 18.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.4819, allocations: 10.47 kB / 0.6065 GB, free: 18.15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007592/0.4827, allocations: 0.5217 MB / 0.607 GB, free: 17.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4827, allocations: 192 / 0.607 GB, free: 17.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001161/0.4839, allocations: 303.6 kB / 0.6073 GB, free: 17.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * 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,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006772/0.4906, allocations: 3.082 MB / 0.6103 GB, free: 15.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004188/0.4948, allocations: 1.731 MB / 0.612 GB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4949, allocations: 1.406 kB / 0.612 GB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002466/0.4973, allocations: 1.083 MB / 0.613 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006691/0.498, allocations: 60.45 kB / 0.6131 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/0.5176, allocations: 10.44 MB / 0.6233 GB, free: 3.668 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.518, allocations: 0.946 MB / 0.6242 GB, free: 2.695 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002804/0.5183, allocations: 61.14 kB / 0.6243 GB, free: 2.633 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.5186, allocations: 287.3 kB / 0.6245 GB, free: 2.352 MB / 426.7 MB Notification: Performance of SimCode: time 7.22e-07/0.5186, allocations: 0 / 0.6245 GB, free: 2.352 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03509/0.5537, allocations: 19.71 MB / 0.6438 GB, free: 14.81 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.5539, allocations: 210.4 kB / 0.644 GB, free: 14.55 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/3.112, allocations: 0 / 0.644 GB, free: 14.55 MB / 458.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)