Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001388/0.001388, allocations: 118.2 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.0014/0.001401, allocations: 198 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.476/1.476, 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.002219/0.002219, allocations: 59.91 kB / 358.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3076, allocations: 50.53 MB / 409.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005958/0.3137, allocations: 3.305 MB / 412.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002918/0.3166, allocations: 1.413 MB / 413.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.317, allocations: 7.938 kB / 413.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005627/0.3176, allocations: 143.1 kB / 413.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.319, allocations: 425.7 kB / 414.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.3196, allocations: 183.5 kB / 414.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008603/0.3204, allocations: 462 kB / 415 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.3208, allocations: 152.2 kB / 415.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003503/0.3211, allocations: 171.4 kB / 415.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000406/0.3216, allocations: 207.1 kB / 415.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.485e-05/0.3217, allocations: 32 kB / 415.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004476/0.3221, allocations: 175.9 kB / 415.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.3222, allocations: 87.61 kB / 415.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.3225, allocations: 191 kB / 416 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00096/0.3235, allocations: 0.5554 MB / 416.5 MB, free: 9.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3235, allocations: 0 / 416.5 MB, free: 9.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3235, allocations: 0 / 416.5 MB, free: 9.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.3235, allocations: 0 / 416.5 MB, free: 9.832 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001733/0.3253, allocations: 0.7559 MB / 417.3 MB, free: 9.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.3253, allocations: 12.03 kB / 417.3 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.831e-05/0.3254, allocations: 66.72 kB / 417.4 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007721/0.3262, allocations: 116.6 kB / 417.5 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.3268, allocations: 325.7 kB / 417.8 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.3268, allocations: 29.36 kB / 417.8 MB, free: 8.438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.117e-05/0.3269, allocations: 32.38 kB / 417.8 MB, free: 8.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.3275, allocations: 353.5 kB / 418.2 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.3276, allocations: 0 / 418.2 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.3276, allocations: 16 kB / 418.2 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3276, allocations: 8 kB / 418.2 MB, free: 8.023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005132/0.3281, allocations: 254.1 kB / 418.5 MB, free: 7.773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.3304, allocations: 1.316 MB / 419.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.3308, allocations: 199.1 kB / 420 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.331, allocations: 85.69 kB / 420.1 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/0.3322, allocations: 1.204 MB / 421.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.3323, allocations: 42.56 kB / 421.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.3323, allocations: 4 kB / 421.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006028/0.3329, allocations: 221.4 kB / 421.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.333, allocations: 77.11 kB / 421.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000467/0.3334, allocations: 291 kB / 421.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.3335, allocations: 25.7 kB / 421.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.3337, allocations: 248.1 kB / 422.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.3337, allocations: 63.47 kB / 422.2 MB, free: 3.676 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.3338, allocations: 77.91 kB / 422.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.334, allocations: 338.8 kB / 422.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.3342, allocations: 64.62 kB / 422.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.3345, allocations: 198.4 kB / 422.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/0.3349, allocations: 288.9 kB / 423.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3349, allocations: 0 / 423.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005753/0.3355, allocations: 313.4 kB / 423.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.3356, allocations: 8 kB / 423.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.3356, allocations: 7.938 kB / 423.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.3356, allocations: 15.91 kB / 423.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.3359, allocations: 79.91 kB / 423.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.3359, allocations: 7.938 kB / 423.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.3362, allocations: 39.77 kB / 423.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.3362, allocations: 16.12 kB / 423.6 MB, free: 2.105 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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.0001772/0.3364, allocations: 149.8 kB / 423.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/0.3364, allocations: 27.81 kB / 423.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.415e-05/0.3365, allocations: 29.78 kB / 423.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.3365, allocations: 7.938 kB / 423.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.3365, allocations: 0 / 423.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3366, allocations: 7.922 kB / 423.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007484/0.3373, allocations: 0.5109 MB / 424.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3373, allocations: 3.938 kB / 424.4 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.3375, allocations: 47.91 kB / 424.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3375, allocations: 0 / 424.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.3376, allocations: 4 kB / 424.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3376, allocations: 4 kB / 424.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3376, allocations: 320 / 424.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006113/0.3382, allocations: 426.7 kB / 424.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.855e-05/0.3383, allocations: 116.8 kB / 424.9 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.3383, allocations: 4 kB / 425 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.3385, allocations: 15.98 kB / 425 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.3386, allocations: 16.05 kB / 425 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.3387, allocations: 8 kB / 425 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.3389, allocations: 194 kB / 425.2 MB, free: 464 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3389, allocations: 0 / 425.2 MB, free: 464 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004492/0.3393, allocations: 83.84 kB / 425.3 MB, free: 380 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * 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.001009/0.3403, allocations: 0.9624 MB / 426.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004281/0.3408, allocations: 199.7 kB / 426.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3408, allocations: 0 / 426.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.341, allocations: 69.53 kB / 426.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.3414, allocations: 32.83 kB / 426.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/0.3455, allocations: 3.134 MB / 429.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.346, allocations: 0.7714 MB / 430.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.3461, allocations: 38.95 kB / 430.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.3463, allocations: 99.41 kB / 430.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of SimCode: time 5e-07/0.3463, allocations: 0 / 430.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.3755, allocations: 5.57 MB / 436.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.422/8.798, allocations: 11 kB / 436.1 MB, free: 5.418 MB / 350.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1)