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.SeriesBode.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.SeriesBode,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001388, 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.001571/0.001571, 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.455/1.455, allocations: 227.7 MB / 247.2 MB, free: 10.22 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.002218/0.002218, allocations: 59.89 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3033, allocations: 50.55 MB / 409.1 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005693/0.309, allocations: 3.956 MB / 413 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003461/0.3125, allocations: 1.643 MB / 414.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004915/0.3131, allocations: 8 kB / 414.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.3152, allocations: 0.7842 MB / 415.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.3165, allocations: 362 kB / 415.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.3181, allocations: 0.676 MB / 416.5 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009513/0.3191, allocations: 0.5292 MB / 417 MB, free: 9.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009091/0.32, allocations: 499 kB / 417.5 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004283/0.3205, allocations: 247 kB / 417.7 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003567/0.3208, allocations: 290.8 kB / 418 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.962e-05/0.3209, allocations: 52 kB / 418.1 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006096/0.3215, allocations: 255.8 kB / 418.3 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.3217, allocations: 123.5 kB / 418.5 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.3219, allocations: 266.7 kB / 418.7 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.3231, allocations: 0.8056 MB / 419.5 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3231, allocations: 0 / 419.5 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3231, allocations: 4 kB / 419.5 MB, free: 6.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.3231, allocations: 4 kB / 419.5 MB, free: 6.867 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002233/0.3253, allocations: 0.9587 MB / 420.5 MB, free: 5.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3254, allocations: 12.03 kB / 420.5 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002253/0.3256, allocations: 115.9 kB / 420.6 MB, free: 5.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002823/0.3285, allocations: 396.2 kB / 421 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006203/0.3291, allocations: 362.8 kB / 421.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/0.3292, allocations: 53.38 kB / 421.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.431e-05/0.3293, allocations: 60 kB / 421.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.3304, allocations: 0.6432 MB / 422.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.3305, allocations: 0 / 422.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.08e-05/0.3305, allocations: 24 kB / 422.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.3306, allocations: 16 kB / 422.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.3317, allocations: 0.579 MB / 422.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/0.3352, allocations: 2.26 MB / 425 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.3369, allocations: 1.181 MB / 426.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003901/0.3373, allocations: 192.8 kB / 426.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.3375, allocations: 178.5 kB / 426.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.3375, allocations: 46.48 kB / 426.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.943e-06/0.3376, allocations: 0 / 426.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001766/0.3393, allocations: 0.6825 MB / 427.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.3394, allocations: 63.41 kB / 427.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.3397, allocations: 266.6 kB / 427.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.3398, allocations: 33.7 kB / 427.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.34, allocations: 256.9 kB / 427.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.3401, allocations: 154.6 kB / 428 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.3403, allocations: 90.2 kB / 428.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3404, allocations: 342.8 kB / 428.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.3408, allocations: 159 kB / 428.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/0.3412, allocations: 253.9 kB / 428.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000818/0.342, allocations: 445.6 kB / 429.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3421, allocations: 0 / 429.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001098/0.3432, allocations: 0.5183 MB / 429.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3432, allocations: 4 kB / 429.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.3432, allocations: 8 kB / 429.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002945/0.3435, allocations: 60.77 kB / 429.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.3439, allocations: 103.8 kB / 430 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.3458, allocations: 1.759 MB / 431.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.3461, allocations: 59.55 kB / 431.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.3462, allocations: 20 kB / 431.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004997/0.3467, allocations: 273.2 kB / 432.1 MB, free: 9.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003931/0.3471, allocations: 253.6 kB / 432.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007515/0.3478, allocations: 423.7 kB / 432.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.62e-06/0.3478, allocations: 3.984 kB / 432.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001034/0.3489, allocations: 0.513 MB / 433.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3489, allocations: 8 kB / 433.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3489, allocations: 7.984 kB / 433.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001858/0.3491, allocations: 60.7 kB / 433.3 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.3495, allocations: 100.2 kB / 433.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.3511, allocations: 1.763 MB / 435.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.3514, allocations: 43.77 kB / 435.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.3515, allocations: 16 kB / 435.2 MB, free: 6.09 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 (53): * 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: 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002023/0.3517, allocations: 204.1 kB / 435.4 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/0.3518, allocations: 35.75 kB / 435.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.353, allocations: 0.5122 MB / 436 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.353, allocations: 4 kB / 436 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.353, allocations: 7.938 kB / 436 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.353, allocations: 0 / 436 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.3548, allocations: 1.088 MB / 437.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3548, allocations: 0 / 437.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.3552, allocations: 79.89 kB / 437.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001825/0.3554, allocations: 52.95 kB / 437.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/0.3555, allocations: 12 kB / 437.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.3571, allocations: 1.752 MB / 439 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3571, allocations: 4.094 kB / 439 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.3586, allocations: 0.7541 MB / 439.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.3588, allocations: 152.7 kB / 439.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.3588, allocations: 16 kB / 439.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.3591, allocations: 15.98 kB / 439.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.3592, allocations: 32.39 kB / 440 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.3592, allocations: 12 kB / 440 MB, free: 1.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002073/0.3594, allocations: 198 kB / 440.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3594, allocations: 0 / 440.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009156/0.3604, allocations: 239.4 kB / 440.4 MB, free: 0.6914 MB / 350.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 (42): * Single equations (assignments): 41 * 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,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.001898/0.3623, allocations: 1.336 MB / 441.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001842/0.3641, allocations: 0.8847 MB / 442.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3642, allocations: 0 / 442.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005957/0.3648, allocations: 345 kB / 442.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.3653, allocations: 59.95 kB / 443 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005835/0.3711, allocations: 3.795 MB / 446.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.3716, allocations: 0.8327 MB / 447.6 MB, free: 9.191 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000302/0.3719, allocations: 67.23 kB / 447.7 MB, free: 9.125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.3722, allocations: 167.4 kB / 447.9 MB, free: 8.961 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3722, allocations: 0 / 447.9 MB, free: 8.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04152/0.4137, allocations: 8.685 MB / 456.5 MB, free: 464 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.81, allocations: 22.83 kB / 456.6 MB, free: 444 kB / 366.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_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_SeriesBode.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1)