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.007962/0.007962, allocations: 101.8 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 239.4 MB, free: 4.562 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.001316/0.001316, allocations: 192.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4443/0.4443, allocations: 78.53 MB / 418.4 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 79.89 kB / 0.5531 GB, free: 1.473 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3474, allocations: 68.16 MB / 0.6197 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004861/0.3523, allocations: 4.906 MB / 0.6245 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.3553, allocations: 1.599 MB / 0.626 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007092/0.356, allocations: 4 kB / 0.6261 GB, free: 3.625 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.3565, allocations: 162.7 kB / 0.6262 GB, free: 3.465 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.001623/0.3582, allocations: 0.674 MB / 0.6269 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007903/0.359, allocations: 426.1 kB / 0.6273 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.36, allocations: 1.082 MB / 0.6283 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.3603, allocations: 214 kB / 0.6285 GB, free: 1.066 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004743/0.3608, allocations: 446.2 kB / 0.629 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004764/0.3613, allocations: 0.5524 MB / 0.6295 GB, free: 76 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.3614, allocations: 100 kB / 0.6296 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004551/0.3619, allocations: 243.8 kB / 0.6298 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.3621, allocations: 231.1 kB / 0.63 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003838/0.3625, allocations: 473.4 kB / 0.6305 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.3638, allocations: 1.264 MB / 0.6317 GB, free: 13.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3639, allocations: 0 / 0.6317 GB, free: 13.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3639, allocations: 0 / 0.6317 GB, free: 13.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.396e-05/0.3639, allocations: 0 / 0.6317 GB, free: 13.78 MB / 446.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.005417/0.3693, allocations: 1.747 MB / 0.6334 GB, free: 11.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3694, allocations: 8.031 kB / 0.6334 GB, free: 11.97 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.3695, allocations: 90.7 kB / 0.6335 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003279/0.3728, allocations: 0.5262 MB / 0.634 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.374, allocations: 0.647 MB / 0.6347 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.3742, allocations: 138.1 kB / 0.6348 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.3743, allocations: 59.98 kB / 0.6349 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.3756, allocations: 0.6506 MB / 0.6355 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.3757, allocations: 7.938 kB / 0.6355 GB, free: 9.781 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/0.3757, allocations: 20 kB / 0.6355 GB, free: 9.762 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.3758, allocations: 15.94 kB / 0.6355 GB, free: 9.746 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.377, allocations: 0.6247 MB / 0.6362 GB, free: 9.121 MB / 446.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.004617/0.3816, allocations: 2.623 MB / 0.6387 GB, free: 6.379 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.3929, allocations: 2.817 MB / 0.6415 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009859/0.3939, allocations: 446.4 kB / 0.6419 GB, free: 3.078 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.162e-05/0.394, allocations: 4.562 kB / 0.6419 GB, free: 3.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.394, allocations: 39.12 kB / 0.6419 GB, free: 3.023 MB / 446.1 MB Notification: Performance of pre-optimization done (n=57): time 3.526e-06/0.3941, allocations: 0 / 0.6419 GB, free: 3.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01173/0.4058, allocations: 3.531 MB / 0.6454 GB, free: 15.42 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.4059, allocations: 63.91 kB / 0.6454 GB, free: 15.35 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.4069, allocations: 0.7661 MB / 0.6462 GB, free: 14.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.4071, allocations: 37.7 kB / 0.6462 GB, free: 14.53 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.4073, allocations: 356.6 kB / 0.6466 GB, free: 14.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.4076, allocations: 205 kB / 0.6468 GB, free: 13.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003397/0.4079, allocations: 178.5 kB / 0.6469 GB, free: 13.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4081, allocations: 394.7 kB / 0.6473 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009344/0.409, allocations: 497.8 kB / 0.6478 GB, free: 12.92 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000992/0.41, allocations: 0.6031 MB / 0.6484 GB, free: 12.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01477/0.4248, allocations: 3.556 MB / 0.6518 GB, free: 8.703 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.4248, allocations: 0 / 0.6518 GB, free: 8.703 MB / 462.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00732/0.4322, allocations: 2.391 MB / 0.6542 GB, free: 6.293 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.4322, allocations: 4 kB / 0.6542 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.4323, allocations: 4 kB / 0.6542 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004039/0.4363, allocations: 1.05 MB / 0.6552 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000852/0.4372, allocations: 147.8 kB / 0.6554 GB, free: 5.082 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.4476, allocations: 5.074 MB / 0.6603 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.4489, allocations: 115.2 kB / 0.6604 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/0.4491, allocations: 32.14 kB / 0.6605 GB, free: 15.71 MB / 478.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.0005866/0.4497, allocations: 214.1 kB / 0.6607 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.45, allocations: 82.91 kB / 0.6607 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005625/0.4556, allocations: 1.941 MB / 0.6626 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.4557, allocations: 11.98 kB / 0.6626 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/0.4557, allocations: 4 kB / 0.6626 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.4557, allocations: 4 kB / 0.6626 GB, free: 13.43 MB / 478.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.007285/0.463, allocations: 3.036 MB / 0.6656 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.4631, allocations: 4 kB / 0.6656 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004606/0.4635, allocations: 63.84 kB / 0.6657 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003101/0.4666, allocations: 0.9403 MB / 0.6666 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.4668, allocations: 8 kB / 0.6666 GB, free: 9.277 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008065/0.4748, allocations: 4.109 MB / 0.6706 GB, free: 5.027 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4749, allocations: 3.938 kB / 0.6706 GB, free: 5.023 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006894/0.4818, allocations: 2.515 MB / 0.6731 GB, free: 2.48 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.4822, allocations: 176 kB / 0.6732 GB, free: 2.289 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.4824, allocations: 12 kB / 0.6733 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000847/0.4833, allocations: 55.94 kB / 0.6733 GB, free: 2.223 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003802/0.4837, allocations: 116.4 kB / 0.6734 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.542e-05/0.4838, allocations: 15.98 kB / 0.6734 GB, free: 2.094 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008259/0.4846, allocations: 0.5186 MB / 0.6739 GB, free: 1.578 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4846, allocations: 0 / 0.6739 GB, free: 1.578 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001223/0.4859, allocations: 303.9 kB / 0.6742 GB, free: 1.281 MB / 478.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.007608/0.4935, allocations: 3.078 MB / 0.6772 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004613/0.4981, allocations: 1.734 MB / 0.6789 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4982, allocations: 0 / 0.6789 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002657/0.5008, allocations: 1.084 MB / 0.68 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008619/0.5017, allocations: 65.44 kB / 0.6801 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/0.5232, allocations: 9.886 MB / 0.6897 GB, free: 1.105 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/0.5238, allocations: 0.9421 MB / 0.6906 GB, free: 136 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003064/0.5241, allocations: 69.12 kB / 0.6907 GB, free: 64 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004605/0.5246, allocations: 295.4 kB / 0.691 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.5246, allocations: 0 / 0.691 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05102/0.5756, allocations: 21.51 MB / 0.712 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.25, allocations: 10.08 kB / 0.712 GB, free: 10.35 MB / 0.5137 GB (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)