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.UnsymmetricalLoad.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.UnsymmetricalLoad,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001745/0.001745, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001965/0.001965, allocations: 201.2 kB / 18.74 MB, free: 4.332 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.632/1.632, allocations: 227.7 MB / 247.2 MB, free: 10.17 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.001903/0.001903, allocations: 63.91 kB / 358.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3161, allocations: 50.55 MB / 409.1 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01589/0.3321, allocations: 13.95 MB / 423 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009337/0.3414, allocations: 3.831 MB / 426.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002935/0.3445, allocations: 99.75 kB / 427 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01282/0.3573, allocations: 5.559 MB / 432.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006593/0.3639, allocations: 1.348 MB / 433.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003799/0.3677, allocations: 1.206 MB / 435.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0095/0.3772, allocations: 6.382 MB / 441.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02193/0.3992, allocations: 13.67 MB / 455.1 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005137/0.4044, allocations: 3.285 MB / 458.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006737/0.4111, allocations: 3.847 MB / 462.3 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002575/0.4138, allocations: 0.8906 MB / 463.1 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003828/0.4176, allocations: 1.086 MB / 464.2 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002702/0.4203, allocations: 1.773 MB / 466 MB, free: 8.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006416/0.4268, allocations: 3.564 MB / 469.6 MB, free: 4.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01564/0.4424, allocations: 11.98 MB / 481.6 MB, free: 8.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.4425, allocations: 4 kB / 481.6 MB, free: 8.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4425, allocations: 7.938 kB / 481.6 MB, free: 8.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003549/0.4429, allocations: 0 / 481.6 MB, free: 8.57 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02526/0.4681, allocations: 7.909 MB / 489.5 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.4682, allocations: 12.03 kB / 489.5 MB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003726/0.4719, allocations: 1.054 MB / 490.5 MB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01992/0.4919, allocations: 2.877 MB / 493.4 MB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009412/0.5013, allocations: 3.761 MB / 497.2 MB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005218/0.5019, allocations: 481.1 kB / 497.7 MB, free: 8.328 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002814/0.5047, allocations: 0.621 MB / 498.3 MB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02616/0.5309, allocations: 9.362 MB / 0.4957 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002192/0.5312, allocations: 4 kB / 0.4957 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001519/0.5327, allocations: 268 kB / 0.496 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003883/0.5331, allocations: 317.5 kB / 0.4963 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/0.5512, allocations: 7.985 MB / 0.5041 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05098/0.6022, allocations: 28.8 MB / 0.5322 GB, free: 7.934 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2826/0.8848, allocations: 11.7 MB / 0.5436 GB, free: 112.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003441/0.8883, allocations: 1.616 MB / 0.5452 GB, free: 112.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000299/0.8886, allocations: 238.4 kB / 0.5455 GB, free: 112.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.8887, allocations: 57.59 kB / 0.5455 GB, free: 112.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 5.791e-06/0.8887, allocations: 1.062 kB / 0.5455 GB, free: 112.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.007772/0.8965, allocations: 4.196 MB / 0.5496 GB, free: 110.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.8966, allocations: 110.2 kB / 0.5497 GB, free: 110.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/0.8991, allocations: 1.902 MB / 0.5516 GB, free: 110.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.8992, allocations: 65.39 kB / 0.5516 GB, free: 110.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.9009, allocations: 2.644 MB / 0.5542 GB, free: 108.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007604/0.9017, allocations: 0.8526 MB / 0.555 GB, free: 108.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009126/0.9026, allocations: 0.6738 MB / 0.5557 GB, free: 107.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.333e-05/0.9027, allocations: 305.1 kB / 0.556 GB, free: 107.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.9044, allocations: 1.407 MB / 0.5574 GB, free: 107.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002275/0.9067, allocations: 2.593 MB / 0.5599 GB, free: 105.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004097/0.9108, allocations: 4.251 MB / 0.5641 GB, free: 102.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.521e-05/0.9108, allocations: 11.72 kB / 0.5641 GB, free: 102.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006354/0.9172, allocations: 4.542 MB / 0.5685 GB, free: 100.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.9172, allocations: 22.69 kB / 0.5685 GB, free: 100.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.426e-05/0.9173, allocations: 42.78 kB / 0.5686 GB, free: 100.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007147/0.918, allocations: 307.6 kB / 0.5689 GB, free: 100.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002319/0.9203, allocations: 0.7832 MB / 0.5696 GB, free: 99.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004146/0.9245, allocations: 5.05 MB / 0.5746 GB, free: 94.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/0.9267, allocations: 416.2 kB / 0.575 GB, free: 94.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/0.927, allocations: 167.3 kB / 0.5751 GB, free: 94 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003309/0.9303, allocations: 2.194 MB / 0.5773 GB, free: 92.15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004235/0.9307, allocations: 222.5 kB / 0.5775 GB, free: 91.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004158/0.9349, allocations: 3.189 MB / 0.5806 GB, free: 88.74 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.9349, allocations: 27.98 kB / 0.5806 GB, free: 88.71 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.581e-05/0.9349, allocations: 4 kB / 0.5806 GB, free: 88.71 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/0.935, allocations: 14.2 kB / 0.5806 GB, free: 88.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.9499, allocations: 12.68 MB / 0.593 GB, free: 75.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/0.95, allocations: 12 kB / 0.593 GB, free: 75.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.9515, allocations: 439.3 kB / 0.5934 GB, free: 74.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005874/0.9521, allocations: 273.9 kB / 0.5937 GB, free: 74.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/0.9522, allocations: 67.98 kB / 0.5938 GB, free: 74.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003853/0.9561, allocations: 4.991 MB / 0.5986 GB, free: 69.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/0.9561, allocations: 27.94 kB / 0.5987 GB, free: 69.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00542/0.9616, allocations: 5.018 MB / 0.6036 GB, free: 64.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.9626, allocations: 0.5418 MB / 0.6041 GB, free: 63.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/0.9629, allocations: 73.64 kB / 0.6042 GB, free: 63.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.9641, allocations: 115.9 kB / 0.6043 GB, free: 63.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00034/0.9645, allocations: 213.2 kB / 0.6045 GB, free: 63.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.9646, allocations: 91.97 kB / 0.6046 GB, free: 63.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001544/0.9662, allocations: 1.287 MB / 0.6058 GB, free: 61.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.9662, allocations: 0 / 0.6058 GB, free: 61.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003748/0.9699, allocations: 1.463 MB / 0.6072 GB, free: 60.3 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005767/0.9757, allocations: 5.685 MB / 0.6128 GB, free: 54.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004956/0.9807, allocations: 3.67 MB / 0.6164 GB, free: 50.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.83e-05/0.9807, allocations: 4 kB / 0.6164 GB, free: 50.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.9827, allocations: 1.702 MB / 0.6181 GB, free: 48.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/0.9855, allocations: 0.5218 MB / 0.6186 GB, free: 48.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03816/1.024, allocations: 29.01 MB / 0.6469 GB, free: 17.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003006/1.027, allocations: 4.008 MB / 0.6508 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002532/1.029, allocations: 1.191 MB / 0.652 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001892/1.031, allocations: 2.007 MB / 0.6539 GB, free: 10.41 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/1.031, allocations: 0 / 0.6539 GB, free: 10.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1299/1.161, allocations: 65.8 MB / 0.7182 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/15.32, allocations: 11.69 kB / 0.7182 GB, free: 8.918 MB / 0.5137 GB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_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_UnsymmetricalLoad.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1)