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.0009872/0.0009873, allocations: 177.3 kB / 15.45 MB, free: 6.227 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.449/1.449, allocations: 223.3 MB / 239.5 MB, free: 1.617 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.0007575/0.0007576, allocations: 91.48 kB / 290.6 MB, free: 13.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5347/0.5347, allocations: 78.62 MB / 420.4 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003866, allocations: 8 kB / 0.4889 GB, free: 2.441 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4551/0.4555, allocations: 69.35 MB / 0.5566 GB, free: 39.12 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005086/0.4606, allocations: 4.754 MB / 0.5612 GB, free: 37.35 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004008/0.4647, allocations: 1.618 MB / 0.5628 GB, free: 36.67 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006234/0.4653, allocations: 7.156 kB / 0.5628 GB, free: 36.67 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004911/0.4658, allocations: 123.5 kB / 0.5629 GB, free: 36.63 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.001701/0.4676, allocations: 0.5682 MB / 0.5635 GB, free: 36.38 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009546/0.4685, allocations: 401.2 kB / 0.5639 GB, free: 36.29 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.47, allocations: 1.018 MB / 0.5649 GB, free: 36.05 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/0.4703, allocations: 184.7 kB / 0.565 GB, free: 36 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006329/0.471, allocations: 382 kB / 0.5654 GB, free: 35.89 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000699/0.4717, allocations: 0.4932 MB / 0.5659 GB, free: 35.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.4718, allocations: 44.81 kB / 0.5659 GB, free: 35.75 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005143/0.4723, allocations: 180.5 kB / 0.5661 GB, free: 35.72 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.4725, allocations: 176.5 kB / 0.5663 GB, free: 35.61 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003515/0.4729, allocations: 444.3 kB / 0.5667 GB, free: 35.32 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.4743, allocations: 1.176 MB / 0.5678 GB, free: 34.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4743, allocations: 1.344 kB / 0.5679 GB, free: 34.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4744, allocations: 0 / 0.5679 GB, free: 34.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.4744, allocations: 0 / 0.5679 GB, free: 34.91 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.004778/0.4792, allocations: 1.62 MB / 0.5694 GB, free: 34.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.4792, allocations: 8.969 kB / 0.5694 GB, free: 34.11 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.4794, allocations: 88.75 kB / 0.5695 GB, free: 34.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003133/0.4825, allocations: 0.5314 MB / 0.57 GB, free: 33.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009364/0.4835, allocations: 0.6488 MB / 0.5707 GB, free: 33.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.4836, allocations: 150.2 kB / 0.5708 GB, free: 33.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-05/0.4837, allocations: 57.7 kB / 0.5709 GB, free: 33.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.485, allocations: 0.6965 MB / 0.5716 GB, free: 33.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.485, allocations: 0 / 0.5716 GB, free: 33.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.4851, allocations: 19 kB / 0.5716 GB, free: 33.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.4851, allocations: 14.56 kB / 0.5716 GB, free: 33.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.4863, allocations: 0.6666 MB / 0.5722 GB, free: 32.8 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.004166/0.4905, allocations: 2.664 MB / 0.5748 GB, free: 31.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01172/0.5022, allocations: 3.774 MB / 0.5785 GB, free: 30.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/0.5033, allocations: 479.7 kB / 0.579 GB, free: 30.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-05/0.5034, allocations: 17.58 kB / 0.579 GB, free: 30.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.5035, allocations: 38.16 kB / 0.579 GB, free: 30.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 3.467e-06/0.5035, allocations: 0 / 0.579 GB, free: 30.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.01198/0.5155, allocations: 4.232 MB / 0.5832 GB, free: 29.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.5156, allocations: 61.34 kB / 0.5832 GB, free: 29.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.5173, allocations: 0.7694 MB / 0.584 GB, free: 28.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000196/0.5175, allocations: 33.7 kB / 0.584 GB, free: 28.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.5178, allocations: 352 kB / 0.5843 GB, free: 28.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/0.5181, allocations: 220.5 kB / 0.5846 GB, free: 28.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.5183, allocations: 86.94 kB / 0.5846 GB, free: 28.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5184, allocations: 393.5 kB / 0.585 GB, free: 28.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.5194, allocations: 0.5342 MB / 0.5855 GB, free: 27.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.5204, allocations: 0.6287 MB / 0.5862 GB, free: 27.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01428/0.5347, allocations: 3.8 MB / 0.5899 GB, free: 26.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.5348, allocations: 1.031 kB / 0.5899 GB, free: 26.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007469/0.5423, allocations: 2.75 MB / 0.5925 GB, free: 25.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.5423, allocations: 5.625 kB / 0.5926 GB, free: 25.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.5424, allocations: 2.312 kB / 0.5926 GB, free: 25.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004173/0.5465, allocations: 1.198 MB / 0.5937 GB, free: 25.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008909/0.5475, allocations: 152.6 kB / 0.5939 GB, free: 25.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.5578, allocations: 5.113 MB / 0.5989 GB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.5592, allocations: 127.3 kB / 0.599 GB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.519e-05/0.5593, allocations: 42.38 kB / 0.599 GB, free: 22.72 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.0005045/0.5598, allocations: 217.6 kB / 0.5992 GB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.56, allocations: 80.34 kB / 0.5993 GB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006283/0.5663, allocations: 2.293 MB / 0.6016 GB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.5663, allocations: 5.938 kB / 0.6016 GB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.5663, allocations: 3.781 kB / 0.6016 GB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.5663, allocations: 4.328 kB / 0.6016 GB, free: 21.88 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.008345/0.5747, allocations: 3.39 MB / 0.6049 GB, free: 20.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.5747, allocations: 0 / 0.6049 GB, free: 20.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.5752, allocations: 65.86 kB / 0.6049 GB, free: 20.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003869/0.5791, allocations: 1.091 MB / 0.606 GB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-05/0.5792, allocations: 12.06 kB / 0.606 GB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00866/0.5879, allocations: 4.135 MB / 0.6101 GB, free: 18.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5879, allocations: 1.062 kB / 0.6101 GB, free: 18.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007226/0.5951, allocations: 2.909 MB / 0.6129 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.5956, allocations: 182.4 kB / 0.6131 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.5959, allocations: 12.75 kB / 0.6131 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008539/0.5968, allocations: 70.86 kB / 0.6131 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004762/0.5973, allocations: 114.2 kB / 0.6133 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.704e-05/0.5973, allocations: 12.66 kB / 0.6133 GB, free: 15.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008529/0.5982, allocations: 0.5222 MB / 0.6138 GB, free: 14.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5982, allocations: 4.188 kB / 0.6138 GB, free: 14.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00128/0.5995, allocations: 299.7 kB / 0.6141 GB, free: 14.55 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.006898/0.6064, allocations: 3.476 MB / 0.6175 GB, free: 11.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004264/0.6107, allocations: 1.91 MB / 0.6193 GB, free: 9.164 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.6107, allocations: 0 / 0.6193 GB, free: 9.164 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002548/0.6133, allocations: 1.205 MB / 0.6205 GB, free: 7.902 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009465/0.6142, allocations: 62.86 kB / 0.6206 GB, free: 7.848 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02415/0.6384, allocations: 11.28 MB / 0.6316 GB, free: 12.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008256/0.6393, allocations: 0.9421 MB / 0.6325 GB, free: 11.35 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005313/0.6398, allocations: 69.14 kB / 0.6326 GB, free: 11.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000667/0.6405, allocations: 287.3 kB / 0.6328 GB, free: 11 MB / 442.7 MB Notification: Performance of SimCode: time 1.332e-06/0.6406, allocations: 0 / 0.6328 GB, free: 11 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05638/0.6969, allocations: 19.73 MB / 0.6521 GB, free: 7.441 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/0.6972, allocations: 207.3 kB / 0.6523 GB, free: 7.184 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.821/3.518, allocations: 0 / 0.6523 GB, free: 7.184 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)