Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 239.3 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 183.6 kB / 289.6 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4386/0.4386, allocations: 78.52 MB / 418.2 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 79.88 kB / 497.6 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.126, allocations: 68.18 MB / 0.5525 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.2409/0.367, allocations: 4.891 MB / 0.5573 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003104/0.3701, allocations: 1.599 MB / 0.5588 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007265/0.3709, allocations: 6.469 kB / 0.5588 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004923/0.3714, allocations: 161.6 kB / 0.559 GB, free: 36.37 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001456/0.3729, allocations: 0.6387 MB / 0.5596 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000724/0.3736, allocations: 418.5 kB / 0.56 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007942/0.3744, allocations: 1.069 MB / 0.561 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002922/0.3747, allocations: 222.1 kB / 0.5613 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003662/0.3751, allocations: 449.1 kB / 0.5617 GB, free: 36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004716/0.3756, allocations: 0.5592 MB / 0.5622 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.3757, allocations: 99.41 kB / 0.5623 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.3761, allocations: 234.2 kB / 0.5625 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.3762, allocations: 233.4 kB / 0.5628 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002908/0.3765, allocations: 469.1 kB / 0.5632 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008743/0.3774, allocations: 1.247 MB / 0.5644 GB, free: 35.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3774, allocations: 3.562 kB / 0.5644 GB, free: 35.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3774, allocations: 3.344 kB / 0.5644 GB, free: 35.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.3774, allocations: 4.656 kB / 0.5644 GB, free: 35.44 MB / 430.1 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.004729/0.3822, allocations: 1.741 MB / 0.5661 GB, free: 34.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3822, allocations: 10.16 kB / 0.5662 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/0.3823, allocations: 94.66 kB / 0.5662 GB, free: 34.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003041/0.3854, allocations: 0.5267 MB / 0.5668 GB, free: 34.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/0.3861, allocations: 0.6437 MB / 0.5674 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.3862, allocations: 143 kB / 0.5675 GB, free: 34.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/0.3863, allocations: 51.91 kB / 0.5676 GB, free: 34.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.3875, allocations: 0.6595 MB / 0.5682 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.3875, allocations: 0.8906 kB / 0.5682 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.246e-05/0.3876, allocations: 18.75 kB / 0.5682 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.3876, allocations: 21.5 kB / 0.5683 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.3887, allocations: 0.63 MB / 0.5689 GB, free: 34.15 MB / 430.1 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.003788/0.3925, allocations: 2.628 MB / 0.5714 GB, free: 33.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/0.404, allocations: 2.818 MB / 0.5742 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008028/0.4048, allocations: 447 kB / 0.5746 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-05/0.4049, allocations: 10.39 kB / 0.5746 GB, free: 33.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.4049, allocations: 44.19 kB / 0.5747 GB, free: 33.15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.635e-06/0.4049, allocations: 0 / 0.5747 GB, free: 33.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01174/0.4167, allocations: 3.526 MB / 0.5781 GB, free: 32.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.4167, allocations: 61.42 kB / 0.5782 GB, free: 32.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009588/0.4177, allocations: 0.7643 MB / 0.5789 GB, free: 32.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.681e-05/0.4178, allocations: 41.02 kB / 0.579 GB, free: 32.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.418, allocations: 350.9 kB / 0.5793 GB, free: 31.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.4182, allocations: 215.4 kB / 0.5795 GB, free: 31.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003334/0.4185, allocations: 166.7 kB / 0.5797 GB, free: 31.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4187, allocations: 392.9 kB / 0.58 GB, free: 31.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009948/0.4197, allocations: 0.4983 MB / 0.5805 GB, free: 31.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.4207, allocations: 0.5962 MB / 0.5811 GB, free: 30.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01517/0.4359, allocations: 3.566 MB / 0.5846 GB, free: 29.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.436, allocations: 1.344 kB / 0.5846 GB, free: 29.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007256/0.4432, allocations: 2.391 MB / 0.5869 GB, free: 29.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.4433, allocations: 8.625 kB / 0.5869 GB, free: 29.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.4433, allocations: 2.25 kB / 0.5869 GB, free: 29.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004211/0.4475, allocations: 1.051 MB / 0.588 GB, free: 28.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00076/0.4483, allocations: 148.9 kB / 0.5881 GB, free: 28.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.459, allocations: 5.074 MB / 0.5931 GB, free: 26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.4603, allocations: 110.9 kB / 0.5932 GB, free: 25.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.4605, allocations: 29 kB / 0.5932 GB, free: 25.95 MB / 430.1 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.0005418/0.461, allocations: 217 kB / 0.5934 GB, free: 25.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.4613, allocations: 84.56 kB / 0.5935 GB, free: 25.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006308/0.4676, allocations: 1.935 MB / 0.5954 GB, free: 25.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.4676, allocations: 7.891 kB / 0.5954 GB, free: 25.17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.907e-05/0.4676, allocations: 4.344 kB / 0.5954 GB, free: 25.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.4677, allocations: 2.719 kB / 0.5954 GB, free: 25.17 MB / 430.1 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.00792/0.4756, allocations: 3.044 MB / 0.5983 GB, free: 23.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.4756, allocations: 2.016 kB / 0.5984 GB, free: 23.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/0.4761, allocations: 65.56 kB / 0.5984 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003842/0.48, allocations: 0.9442 MB / 0.5993 GB, free: 23.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.253e-05/0.4801, allocations: 11.7 kB / 0.5993 GB, free: 23.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/0.4906, allocations: 4.105 MB / 0.6034 GB, free: 21.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.4906, allocations: 7.938 kB / 0.6034 GB, free: 21.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007816/0.4984, allocations: 2.504 MB / 0.6058 GB, free: 20.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/0.4988, allocations: 183.2 kB / 0.606 GB, free: 20.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/0.4991, allocations: 16.22 kB / 0.606 GB, free: 20.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008751/0.5, allocations: 49.78 kB / 0.606 GB, free: 20.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003871/0.5004, allocations: 116.2 kB / 0.6062 GB, free: 20.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.806e-05/0.5005, allocations: 15.55 kB / 0.6062 GB, free: 20.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008867/0.5014, allocations: 0.5246 MB / 0.6067 GB, free: 19.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5014, allocations: 0 / 0.6067 GB, free: 19.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001273/0.5026, allocations: 304.7 kB / 0.607 GB, free: 19.89 MB / 430.1 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.007319/0.51, allocations: 3.086 MB / 0.61 GB, free: 18.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004809/0.5148, allocations: 1.744 MB / 0.6117 GB, free: 17.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5148, allocations: 0 / 0.6117 GB, free: 17.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002847/0.5177, allocations: 1.084 MB / 0.6127 GB, free: 16.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.5188, allocations: 62.53 kB / 0.6128 GB, free: 16.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0202/0.539, allocations: 10.19 MB / 0.6228 GB, free: 6.262 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.5394, allocations: 0.946 MB / 0.6237 GB, free: 5.289 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003004/0.5397, allocations: 63.67 kB / 0.6237 GB, free: 5.227 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/0.5401, allocations: 299.3 kB / 0.624 GB, free: 4.934 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5401, allocations: 0 / 0.624 GB, free: 4.934 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04787/0.588, allocations: 21.26 MB / 0.6448 GB, free: 15.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.855/10.44, allocations: 11.92 kB / 0.6448 GB, free: 15.98 MB / 462.1 MB (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)