Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.TransformerYD,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001605/0.001605, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 197.2 kB / 18.73 MB, free: 4.312 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.505/1.505, allocations: 227.7 MB / 247.2 MB, free: 10.14 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.001912/0.001912, allocations: 63.89 kB / 358.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3211, allocations: 50.54 MB / 409.1 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.00514/0.3263, allocations: 3.795 MB / 412.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.3285, allocations: 1.075 MB / 413.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002777/0.3288, allocations: 19.94 kB / 414 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.3292, allocations: 154.8 kB / 414.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008515/0.33, allocations: 298.3 kB / 414.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.3303, allocations: 131.8 kB / 414.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.3318, allocations: 1.42 MB / 415.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.3332, allocations: 1.217 MB / 417.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009422/0.3342, allocations: 0.6542 MB / 417.8 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.3352, allocations: 0.7745 MB / 418.6 MB, free: 7.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.3355, allocations: 160 kB / 418.7 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.3358, allocations: 160 kB / 418.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00044/0.3362, allocations: 482.6 kB / 419.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007925/0.337, allocations: 0.735 MB / 420.1 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.3391, allocations: 2.089 MB / 422.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3391, allocations: 0 / 422.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3391, allocations: 0 / 422.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.789e-05/0.3392, allocations: 4 kB / 422.2 MB, free: 4.113 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003112/0.3423, allocations: 1.721 MB / 423.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.3424, allocations: 12.03 kB / 423.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002149/0.3426, allocations: 181.2 kB / 424.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000492/0.3431, allocations: 180 kB / 424.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.3444, allocations: 0.913 MB / 425.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.181e-05/0.3445, allocations: 86.19 kB / 425.3 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.3447, allocations: 108 kB / 425.4 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/0.3471, allocations: 1.576 MB / 427 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.3472, allocations: 0 / 427 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.3473, allocations: 48 kB / 427 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/0.3473, allocations: 31.94 kB / 427 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.3494, allocations: 1.324 MB / 428.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0065/0.3559, allocations: 4.277 MB / 432.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.3573, allocations: 1.339 MB / 434 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000901/0.3582, allocations: 0.5295 MB / 434.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.3583, allocations: 8.422 kB / 434.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.3583, allocations: 43 kB / 434.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.274e-06/0.3583, allocations: 0 / 434.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001536/0.3599, allocations: 0.8772 MB / 435.4 MB, free: 6.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.3599, allocations: 59.78 kB / 435.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.3611, allocations: 0.836 MB / 436.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.3611, allocations: 37.7 kB / 436.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004282/0.3615, allocations: 0.5545 MB / 436.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.3617, allocations: 190.4 kB / 437.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.3619, allocations: 102.2 kB / 437.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3621, allocations: 386.8 kB / 437.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/0.3626, allocations: 300.9 kB / 437.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/0.3632, allocations: 398.5 kB / 438.3 MB, free: 3.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000998/0.3642, allocations: 0.6825 MB / 439 MB, free: 2.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3642, allocations: 0 / 439 MB, free: 2.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001347/0.3655, allocations: 0.8301 MB / 439.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3656, allocations: 4 kB / 439.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3656, allocations: 4 kB / 439.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.3656, allocations: 4 kB / 439.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/0.3662, allocations: 148.1 kB / 439.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.3662, allocations: 15.88 kB / 440 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.3666, allocations: 67.59 kB / 440 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.3667, allocations: 20 kB / 440 MB, free: 1.652 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0007459/0.3674, allocations: 461.4 kB / 440.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.3675, allocations: 79.52 kB / 440.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.3677, allocations: 91.08 kB / 440.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3677, allocations: 4 kB / 440.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.3677, allocations: 3.938 kB / 440.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3678, allocations: 7.984 kB / 440.7 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00309/0.3708, allocations: 1.942 MB / 442.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3709, allocations: 0 / 442.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004833/0.3714, allocations: 119.9 kB / 442.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3714, allocations: 0 / 442.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.3714, allocations: 16 kB / 442.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.3714, allocations: 0 / 442.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3714, allocations: 16.03 kB / 442.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.3731, allocations: 1.126 MB / 443.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.3733, allocations: 172.5 kB / 444.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.804e-05/0.3734, allocations: 12 kB / 444.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.3738, allocations: 55.94 kB / 444.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.3739, allocations: 44.27 kB / 444.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.3739, allocations: 16 kB / 444.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008024/0.3748, allocations: 0.6005 MB / 444.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3748, allocations: 0 / 444.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007467/0.3755, allocations: 287.1 kB / 445.1 MB, free: 12.49 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001958/0.3775, allocations: 1.68 MB / 446.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.3786, allocations: 0.6498 MB / 447.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3786, allocations: 0 / 447.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004705/0.379, allocations: 331 kB / 447.7 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000901/0.38, allocations: 190.9 kB / 447.9 MB, free: 9.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.3921, allocations: 8.551 MB / 456.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.3931, allocations: 1.344 MB / 457.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004993/0.3936, allocations: 209.8 kB / 458 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005172/0.3942, allocations: 391.3 kB / 458.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3942, allocations: 0 / 458.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04736/0.4415, allocations: 19.18 MB / 477.6 MB, free: 11.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.942/9.383, allocations: 7.609 kB / 477.6 MB, free: 11.97 MB / 398.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD_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_TransformerYD.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1)