Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001931/0.001931, allocations: 117.6 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002256/0.002257, allocations: 199.9 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.487/1.487, allocations: 227.7 MB / 247.2 MB, free: 10.23 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.001909/0.001909, allocations: 63.89 kB / 358.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.307, allocations: 50.55 MB / 409.1 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006744/0.3138, allocations: 5.083 MB / 414.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003751/0.3176, allocations: 1.846 MB / 416 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003602/0.3181, allocations: 16 kB / 416 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002662/0.3207, allocations: 1.167 MB / 417.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.3222, allocations: 0.6205 MB / 417.8 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.3235, allocations: 0.6101 MB / 418.4 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009738/0.3245, allocations: 0.7544 MB / 419.2 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008608/0.3254, allocations: 0.5618 MB / 419.7 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004647/0.3258, allocations: 334.6 kB / 420.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004841/0.3263, allocations: 426.3 kB / 420.5 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.493e-05/0.3264, allocations: 67.94 kB / 420.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005571/0.327, allocations: 255.8 kB / 420.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.3272, allocations: 159.4 kB / 421 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003538/0.3275, allocations: 382 kB / 421.3 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.3288, allocations: 1.027 MB / 422.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3288, allocations: 4 kB / 422.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3288, allocations: 0 / 422.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.3288, allocations: 0 / 422.4 MB, free: 4.016 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003795/0.3326, allocations: 1.399 MB / 423.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3327, allocations: 12.03 kB / 423.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001551/0.3328, allocations: 131.1 kB / 423.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005766/0.3386, allocations: 0.7887 MB / 424.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006757/0.3393, allocations: 411.2 kB / 425.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.21e-05/0.3393, allocations: 58.31 kB / 425.1 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.3395, allocations: 83.94 kB / 425.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.3409, allocations: 0.7726 MB / 426 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.3409, allocations: 7.953 kB / 426 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.325e-05/0.341, allocations: 31.94 kB / 426 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.3411, allocations: 20 kB / 426.1 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.3427, allocations: 0.9097 MB / 427 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004114/0.3468, allocations: 2.76 MB / 429.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.3494, allocations: 2.193 MB / 431.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005565/0.3499, allocations: 343.2 kB / 432.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.3501, allocations: 190.8 kB / 432.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.3502, allocations: 43.22 kB / 432.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.394e-06/0.3502, allocations: 3.938 kB / 432.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003665/0.3539, allocations: 1.338 MB / 433.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.3539, allocations: 64.06 kB / 433.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.3543, allocations: 294.9 kB / 434.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/0.3543, allocations: 41.7 kB / 434.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.3545, allocations: 288.7 kB / 434.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.3548, allocations: 269.7 kB / 434.8 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.355, allocations: 122.6 kB / 434.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3551, allocations: 358.7 kB / 435.2 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000459/0.3556, allocations: 233.9 kB / 435.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005786/0.3562, allocations: 362.5 kB / 435.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.3573, allocations: 0.6298 MB / 436.4 MB, free: 5.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.3573, allocations: 3.984 kB / 436.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001766/0.3591, allocations: 0.8686 MB / 437.3 MB, free: 4.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3591, allocations: 8 kB / 437.3 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.3591, allocations: 4 kB / 437.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007948/0.3599, allocations: 211.4 kB / 437.5 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/0.3604, allocations: 131.8 kB / 437.7 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003463/0.3639, allocations: 2.716 MB / 440.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.3643, allocations: 75.44 kB / 440.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-05/0.3644, allocations: 28 kB / 440.5 MB, free: 0.9531 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (73): * Single equations (assignments): 72 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002815/0.3647, allocations: 201.7 kB / 440.7 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.232e-05/0.3648, allocations: 43.72 kB / 440.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/0.3667, allocations: 0.8976 MB / 441.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.3667, allocations: 11.94 kB / 441.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.3668, allocations: 4 kB / 441.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.3668, allocations: 3.984 kB / 441.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/0.3695, allocations: 1.703 MB / 443.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3695, allocations: 0 / 443.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004764/0.37, allocations: 115.8 kB / 443.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006813/0.3707, allocations: 208.6 kB / 443.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.881e-05/0.3708, allocations: 16 kB / 443.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00333/0.3741, allocations: 2.7 MB / 446.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3741, allocations: 4.047 kB / 446.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/0.3765, allocations: 1.269 MB / 447.6 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.3766, allocations: 128.7 kB / 447.8 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/0.3767, allocations: 16 kB / 447.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.377, allocations: 27.98 kB / 447.8 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.3772, allocations: 60.58 kB / 447.9 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.3772, allocations: 23.98 kB / 447.9 MB, free: 9.277 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002227/0.3774, allocations: 206 kB / 448.1 MB, free: 9.078 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3775, allocations: 0 / 448.1 MB, free: 9.078 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007595/0.3782, allocations: 243.5 kB / 448.3 MB, free: 8.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_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 (63): * Single equations (assignments): 62 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002792/0.381, allocations: 1.844 MB / 450.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.3827, allocations: 0.8553 MB / 451 MB, free: 6.098 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3827, allocations: 0.8125 kB / 451 MB, free: 6.098 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009111/0.3837, allocations: 0.5529 MB / 451.6 MB, free: 5.527 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/0.3842, allocations: 52.88 kB / 451.6 MB, free: 5.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00803/0.3922, allocations: 5.101 MB / 456.7 MB, free: 204 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.3928, allocations: 0.8852 MB / 457.6 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003083/0.3932, allocations: 84.45 kB / 457.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/0.3935, allocations: 223.3 kB / 457.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3935, allocations: 0 / 457.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04297/0.4365, allocations: 12.25 MB / 470.2 MB, free: 2.938 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.35, allocations: 13.66 kB / 470.2 MB, free: 2.93 MB / 382.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1)