Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001394/0.001394, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001506/0.001506, allocations: 197.2 kB / 18.73 MB, free: 4.336 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.427/1.427, allocations: 227.7 MB / 247.2 MB, free: 10.2 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.001869/0.001869, allocations: 63.89 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3113, allocations: 50.55 MB / 409.1 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005633/0.317, allocations: 3.777 MB / 412.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.3192, allocations: 1.016 MB / 413.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.3195, allocations: 23.88 kB / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.3199, allocations: 150.8 kB / 414 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008462/0.3208, allocations: 274.5 kB / 414.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.3211, allocations: 139.8 kB / 414.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.3228, allocations: 1.397 MB / 415.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.3242, allocations: 1.189 MB / 417 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008964/0.3251, allocations: 0.6308 MB / 417.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000982/0.3261, allocations: 0.755 MB / 418.4 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002127/0.3264, allocations: 156 kB / 418.6 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.3267, allocations: 164 kB / 418.7 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004505/0.3272, allocations: 458.7 kB / 419.2 MB, free: 7.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008044/0.328, allocations: 0.7272 MB / 419.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.3302, allocations: 2.058 MB / 422 MB, free: 4.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3302, allocations: 0 / 422 MB, free: 4.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3302, allocations: 0 / 422 MB, free: 4.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.3302, allocations: 0 / 422 MB, free: 4.406 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003079/0.3333, allocations: 1.706 MB / 423.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.3333, allocations: 12.02 kB / 423.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002254/0.3336, allocations: 177.2 kB / 423.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005015/0.3341, allocations: 176 kB / 424 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.3355, allocations: 0.9012 MB / 424.9 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-05/0.3356, allocations: 90.16 kB / 425 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.3358, allocations: 111.9 kB / 425.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.3383, allocations: 1.541 MB / 426.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.3383, allocations: 3.938 kB / 426.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.3385, allocations: 44 kB / 426.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/0.3385, allocations: 28 kB / 426.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.3408, allocations: 1.316 MB / 428.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006563/0.3473, allocations: 4.179 MB / 432.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.3488, allocations: 1.317 MB / 433.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007543/0.3495, allocations: 454.5 kB / 434 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.3496, allocations: 8.438 kB / 434 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.3496, allocations: 38.94 kB / 434 MB, free: 7.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.515e-06/0.3496, allocations: 8 kB / 434 MB, free: 7.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003512/0.3532, allocations: 1.956 MB / 436 MB, free: 5.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.3532, allocations: 55.84 kB / 436.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.3544, allocations: 0.8321 MB / 436.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.3544, allocations: 37.7 kB / 436.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004786/0.3549, allocations: 0.5545 MB / 437.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.3551, allocations: 186.4 kB / 437.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.3553, allocations: 102.2 kB / 437.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002279/0.3555, allocations: 390.8 kB / 438.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/0.356, allocations: 304.9 kB / 438.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/0.3566, allocations: 399.4 kB / 438.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.3577, allocations: 0.7106 MB / 439.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3577, allocations: 0 / 439.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00149/0.3592, allocations: 0.9206 MB / 440.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3593, allocations: 4 kB / 440.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3593, allocations: 4 kB / 440.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002987/0.3596, allocations: 113.1 kB / 440.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/0.3601, allocations: 119.8 kB / 440.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.3627, allocations: 2.368 MB / 443.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.3631, allocations: 27.97 kB / 443.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.3632, allocations: 20 kB / 443.1 MB, free: 14.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006728/0.3638, allocations: 457.6 kB / 443.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.364, allocations: 79.53 kB / 443.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.3641, allocations: 87.08 kB / 443.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3641, allocations: 8 kB / 443.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.3642, allocations: 7.922 kB / 443.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3642, allocations: 7.922 kB / 443.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003169/0.3674, allocations: 2.009 MB / 445.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3674, allocations: 0 / 445.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.3677, allocations: 95.81 kB / 445.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002521/0.368, allocations: 100.8 kB / 445.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.368, allocations: 16.16 kB / 446 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00235/0.3704, allocations: 2.326 MB / 448.3 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3704, allocations: 0 / 448.3 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.3722, allocations: 1.208 MB / 449.5 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.3724, allocations: 164.6 kB / 449.7 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.512e-05/0.3725, allocations: 16.33 kB / 449.7 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.3729, allocations: 47.95 kB / 449.7 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.3731, allocations: 40.33 kB / 449.8 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.3731, allocations: 23.92 kB / 449.8 MB, free: 7.473 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008237/0.3739, allocations: 0.5888 MB / 450.4 MB, free: 6.887 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3739, allocations: 4 kB / 450.4 MB, free: 6.883 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007865/0.3747, allocations: 208 kB / 450.6 MB, free: 6.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002144/0.3769, allocations: 1.757 MB / 452.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.3783, allocations: 0.8318 MB / 453.2 MB, free: 4.035 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3783, allocations: 0 / 453.2 MB, free: 4.035 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008457/0.3792, allocations: 489.9 kB / 453.6 MB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008668/0.3801, allocations: 174.9 kB / 453.8 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.3926, allocations: 8.647 MB / 462.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.3938, allocations: 1.34 MB / 463.8 MB, free: 9.152 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005413/0.3944, allocations: 185.8 kB / 464 MB, free: 8.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005855/0.395, allocations: 379.3 kB / 464.4 MB, free: 8.598 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.395, allocations: 0 / 464.4 MB, free: 8.598 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07365/0.4687, allocations: 19.63 MB / 484 MB, free: 5.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.27, allocations: 6.703 kB / 484 MB, free: 5.25 MB / 398.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY_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_Polyphase_Examples_TransformerYY.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1)