Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.49/1.49, allocations: 227.7 MB / 247.1 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001987, allocations: 68.97 kB / 307.3 MB, free: 404 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.105, allocations: 50.54 MB / 357.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01262/0.1176, allocations: 9.732 MB / 367.6 MB, free: 4.059 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006629/0.1243, allocations: 2.76 MB / 370.4 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.1257, allocations: 79.75 kB / 370.4 MB, free: 1.211 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1775/0.3032, allocations: 4.173 MB / 374.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003219/0.3064, allocations: 0.7678 MB / 375.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.3089, allocations: 0.9557 MB / 376.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005154/0.3141, allocations: 4.024 MB / 380.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01548/0.3296, allocations: 11 MB / 391.4 MB, free: 3.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003742/0.3334, allocations: 2.349 MB / 393.7 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004437/0.3379, allocations: 2.656 MB / 396.4 MB, free: 1.219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00153/0.3394, allocations: 0.6624 MB / 397 MB, free: 1.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.3419, allocations: 0.8981 MB / 397.9 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00294/0.3449, allocations: 1.393 MB / 399.3 MB, free: 0 / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004379/0.3493, allocations: 2.56 MB / 401.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009662/0.359, allocations: 8.855 MB / 410.7 MB, free: 5.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.359, allocations: 4 kB / 410.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.359, allocations: 0 / 410.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000198/0.3592, allocations: 0 / 410.7 MB, free: 5.312 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01496/0.3742, allocations: 5.308 MB / 416.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3743, allocations: 8.031 kB / 416.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001455/0.3757, allocations: 0.6577 MB / 416.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007999/0.3837, allocations: 1.327 MB / 418 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005209/0.389, allocations: 2.508 MB / 420.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003511/0.3894, allocations: 349 kB / 420.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001603/0.391, allocations: 459.9 kB / 421.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01496/0.4059, allocations: 6.087 MB / 427.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.4061, allocations: 8 kB / 427.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005828/0.4067, allocations: 191.9 kB / 427.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002508/0.407, allocations: 197.5 kB / 427.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01233/0.4193, allocations: 5.276 MB / 433.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03659/0.4559, allocations: 21.25 MB / 454.3 MB, free: 8.988 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007559/0.4635, allocations: 5.577 MB / 459.9 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.4649, allocations: 0.659 MB / 460.6 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/0.4651, allocations: 191 kB / 460.8 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/0.4652, allocations: 51.55 kB / 460.8 MB, free: 1.715 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 3.356e-06/0.4652, allocations: 0 / 460.8 MB, free: 1.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.002476/0.4677, allocations: 1.416 MB / 462.2 MB, free: 296 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.4678, allocations: 60.41 kB / 462.3 MB, free: 224 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/0.4701, allocations: 1.462 MB / 463.8 MB, free: 14.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.571e-05/0.4702, allocations: 45.64 kB / 463.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001568/0.4718, allocations: 1.971 MB / 465.8 MB, free: 12.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/0.4722, allocations: 342.2 kB / 466.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006709/0.4729, allocations: 475.5 kB / 466.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.4731, allocations: 357.9 kB / 466.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.4744, allocations: 0.8085 MB / 467.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/0.4767, allocations: 1.937 MB / 469.7 MB, free: 8.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003916/0.4806, allocations: 2.931 MB / 472.6 MB, free: 4.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.583e-05/0.4807, allocations: 8 kB / 472.6 MB, free: 4.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004696/0.4854, allocations: 2.793 MB / 475.4 MB, free: 1.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.4854, allocations: 20 kB / 475.4 MB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.987e-05/0.4855, allocations: 40 kB / 475.5 MB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.52e-05/0.4856, allocations: 59.98 kB / 475.5 MB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.4873, allocations: 0.5303 MB / 476 MB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-05/0.4873, allocations: 79.7 kB / 476.1 MB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.4887, allocations: 297.3 kB / 476.4 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.4889, allocations: 124 kB / 476.5 MB, free: 0.8203 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002622/0.4915, allocations: 1.664 MB / 478.2 MB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.4918, allocations: 130.3 kB / 478.3 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.494, allocations: 1.338 MB / 479.7 MB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001363/0.4954, allocations: 0.9279 MB / 480.6 MB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4954, allocations: 0 / 480.6 MB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.4954, allocations: 7.969 kB / 480.6 MB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01956/0.515, allocations: 13.49 MB / 494.1 MB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.239e-05/0.5151, allocations: 20 kB / 494.1 MB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008128/0.5159, allocations: 219.5 kB / 494.3 MB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.041e-05/0.516, allocations: 24 kB / 494.3 MB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.121e-05/0.5161, allocations: 47.98 kB / 494.4 MB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.839e-05/0.5161, allocations: 35.86 kB / 494.4 MB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.285e-05/0.5161, allocations: 35.81 kB / 494.5 MB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003584/0.5197, allocations: 2.443 MB / 496.9 MB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006679/0.5204, allocations: 319.2 kB / 497.2 MB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.5206, allocations: 43.98 kB / 497.3 MB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007392/0.5214, allocations: 67.88 kB / 497.3 MB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/0.5216, allocations: 135.4 kB / 497.5 MB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-05/0.5217, allocations: 56 kB / 497.5 MB, free: 10.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001583/0.5233, allocations: 0.9877 MB / 498.5 MB, free: 9.598 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5233, allocations: 0 / 498.5 MB, free: 9.598 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002784/0.5261, allocations: 0.9436 MB / 499.4 MB, free: 8.648 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * 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 (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003943/0.53, allocations: 3.079 MB / 0.4907 GB, free: 5.281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003193/0.5332, allocations: 1.873 MB / 0.4926 GB, free: 3.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/0.5333, allocations: 4 kB / 0.4926 GB, free: 3.406 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009223/0.5342, allocations: 0.5731 MB / 0.4931 GB, free: 2.836 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/0.5365, allocations: 374.9 kB / 0.4935 GB, free: 2.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03255/0.569, allocations: 20.23 MB / 0.5132 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003752/0.5728, allocations: 3.071 MB / 0.5162 GB, free: 9.113 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002287/0.5751, allocations: 0.817 MB / 0.517 GB, free: 8.289 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001933/0.5771, allocations: 1.257 MB / 0.5183 GB, free: 7.031 MB / 446.1 MB Notification: Performance of SimCode: time 1.914e-06/0.5771, allocations: 0 / 0.5183 GB, free: 7.031 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2381/0.8152, allocations: 41.27 MB / 0.5586 GB, free: 128.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.755/9.571, allocations: 4.062 kB / 0.5586 GB, free: 128.9 MB / 446.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1)