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.ParallelResonance.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.ParallelResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 122.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.001486/0.001486, allocations: 202 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.484/1.484, allocations: 227.7 MB / 247.2 MB, free: 10.18 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.002181/0.002181, allocations: 59.89 kB / 358.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3126, allocations: 50.55 MB / 409.1 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005475/0.3181, allocations: 3.709 MB / 412.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.321, allocations: 1.495 MB / 414.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.3213, allocations: 16 kB / 414.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.3231, allocations: 0.7428 MB / 415 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009693/0.3241, allocations: 389.1 kB / 415.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.3252, allocations: 0.5538 MB / 416 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005784/0.3258, allocations: 466 kB / 416.4 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007832/0.3266, allocations: 468.7 kB / 416.9 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.327, allocations: 223.2 kB / 417.1 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003463/0.3273, allocations: 274.9 kB / 417.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.559e-05/0.3274, allocations: 44 kB / 417.4 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004697/0.3279, allocations: 223.8 kB / 417.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.267e-05/0.328, allocations: 103.6 kB / 417.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000221/0.3282, allocations: 238.8 kB / 418 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008742/0.3291, allocations: 0.7043 MB / 418.7 MB, free: 7.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3291, allocations: 0 / 418.7 MB, free: 7.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3291, allocations: 0 / 418.7 MB, free: 7.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.3291, allocations: 0 / 418.7 MB, free: 7.727 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002204/0.3314, allocations: 0.9278 MB / 419.6 MB, free: 6.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.3314, allocations: 12.03 kB / 419.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/0.3316, allocations: 95.97 kB / 419.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003423/0.335, allocations: 476.2 kB / 420.2 MB, free: 6.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.3356, allocations: 303.7 kB / 420.5 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/0.3356, allocations: 45.62 kB / 420.5 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.967e-05/0.3357, allocations: 56.33 kB / 420.6 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.3368, allocations: 0.5414 MB / 421.1 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.3368, allocations: 3.938 kB / 421.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.163e-05/0.3369, allocations: 20 kB / 421.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.3369, allocations: 12 kB / 421.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.338, allocations: 0.5829 MB / 421.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003117/0.3411, allocations: 1.962 MB / 423.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/0.3438, allocations: 2.181 MB / 425.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.3443, allocations: 262.1 kB / 426.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/0.3445, allocations: 174.6 kB / 426.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.3445, allocations: 46.94 kB / 426.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.625e-06/0.3445, allocations: 0 / 426.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.00189/0.3464, allocations: 0.7466 MB / 427.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.3465, allocations: 59.84 kB / 427.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.3467, allocations: 186.3 kB / 427.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.333e-05/0.3468, allocations: 33.7 kB / 427.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.347, allocations: 225 kB / 427.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.3471, allocations: 170.5 kB / 427.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.3473, allocations: 82.25 kB / 427.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3474, allocations: 334.8 kB / 428.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.3477, allocations: 161 kB / 428.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003842/0.3481, allocations: 238.5 kB / 428.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007122/0.3489, allocations: 420.9 kB / 428.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3489, allocations: 3.938 kB / 428.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001073/0.35, allocations: 0.5436 MB / 429.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.35, allocations: 8 kB / 429.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.35, allocations: 0 / 429.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003747/0.3504, allocations: 80.8 kB / 429.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.3508, allocations: 99.77 kB / 429.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.3528, allocations: 1.771 MB / 431.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.3531, allocations: 51.66 kB / 431.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.3532, allocations: 16 kB / 431.5 MB, free: 9.918 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 (52): * Single equations (assignments): 51 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002432/0.3534, allocations: 169.7 kB / 431.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.89e-05/0.3535, allocations: 31.81 kB / 431.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.3547, allocations: 0.5435 MB / 432.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3547, allocations: 4 kB / 432.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3547, allocations: 3.938 kB / 432.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.3547, allocations: 3.984 kB / 432.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.3567, allocations: 1.144 MB / 433.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.3567, allocations: 3.984 kB / 433.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/0.3571, allocations: 75.91 kB / 433.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002891/0.3574, allocations: 80.86 kB / 433.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.3575, allocations: 12 kB / 433.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/0.3595, allocations: 1.778 MB / 435.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3595, allocations: 0 / 435.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.3609, allocations: 0.803 MB / 436.2 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.864e-05/0.361, allocations: 112.9 kB / 436.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.3611, allocations: 4 kB / 436.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.3613, allocations: 28.05 kB / 436.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/0.3614, allocations: 36.33 kB / 436.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/0.3614, allocations: 19.98 kB / 436.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.3616, allocations: 132.2 kB / 436.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3616, allocations: 0 / 436.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00063/0.3622, allocations: 151.6 kB / 436.6 MB, free: 4.527 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001957/0.3642, allocations: 1.389 MB / 438 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.3654, allocations: 0.5775 MB / 438.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3654, allocations: 0 / 438.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006877/0.3661, allocations: 389.6 kB / 439 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.3665, allocations: 39.92 kB / 439 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005388/0.3719, allocations: 3.449 MB / 442.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.3724, allocations: 0.8084 MB / 443.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001972/0.3726, allocations: 46.95 kB / 443.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.3729, allocations: 143.4 kB / 443.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3729, allocations: 4 kB / 443.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03776/0.4106, allocations: 7.546 MB / 451 MB, free: 6.094 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.63, allocations: 10.59 kB / 451 MB, free: 6.086 MB / 366.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_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_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1)