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.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00163/0.00163, allocations: 121.4 kB / 18.45 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002008/0.002008, allocations: 214.5 kB / 21.41 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.52/1.52, allocations: 227.7 MB / 251.9 MB, free: 4 kB / 190.1 MB " [Timeout remaining time 178] 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.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001936/0.001936, allocations: 63.88 kB / 365.2 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1117, allocations: 50.53 MB / 415.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008487/0.1202, allocations: 6.646 MB / 422.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004677/0.1249, allocations: 2.254 MB / 424.7 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.1263, allocations: 39.88 kB / 424.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.1277, allocations: 373.4 kB / 425.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.1308, allocations: 0.8394 MB / 425.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.132, allocations: 355.1 kB / 426.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004873/0.1369, allocations: 3.188 MB / 429.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002718/0.1396, allocations: 2.003 MB / 431.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.1418, allocations: 1.296 MB / 432.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.1448, allocations: 1.623 MB / 434.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007675/0.1455, allocations: 292 kB / 434.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.1469, allocations: 427.9 kB / 435.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009639/0.1479, allocations: 0.8568 MB / 435.9 MB, free: 9.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002212/0.1501, allocations: 1.466 MB / 437.4 MB, free: 7.848 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005678/0.1558, allocations: 4.11 MB / 441.5 MB, free: 3.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.1559, allocations: 0 / 441.5 MB, free: 3.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1559, allocations: 0 / 441.5 MB, free: 3.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001108/0.156, allocations: 0 / 441.5 MB, free: 3.723 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.009498/0.1655, allocations: 3.55 MB / 445.1 MB, free: 108 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.1656, allocations: 19.95 kB / 445.1 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2036/0.3692, allocations: 335 kB / 445.4 MB, free: 27.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00462/0.3739, allocations: 0.7491 MB / 446.1 MB, free: 27.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003431/0.3774, allocations: 1.735 MB / 447.9 MB, free: 27.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.3775, allocations: 175.5 kB / 448.1 MB, free: 27.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004934/0.378, allocations: 223.3 kB / 448.3 MB, free: 27.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006133/0.3842, allocations: 3.203 MB / 451.5 MB, free: 27.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.773e-05/0.3842, allocations: 3.938 kB / 451.5 MB, free: 27.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002229/0.3845, allocations: 95.22 kB / 451.6 MB, free: 27.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.752e-05/0.3846, allocations: 70.66 kB / 451.6 MB, free: 27.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005763/0.3903, allocations: 2.869 MB / 454.5 MB, free: 27.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01781/0.4082, allocations: 9.176 MB / 463.7 MB, free: 22.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004671/0.4129, allocations: 4.385 MB / 468.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.4143, allocations: 0.8122 MB / 468.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004325/0.4187, allocations: 3.15 MB / 472 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.4188, allocations: 49.58 kB / 472.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 3.637e-06/0.4188, allocations: 0 / 472.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.009321/0.4281, allocations: 4.293 MB / 476.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.4282, allocations: 117.8 kB / 476.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002573/0.4308, allocations: 1.621 MB / 478.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002315/0.431, allocations: 42.11 kB / 478.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007624/0.4318, allocations: 1.144 MB / 479.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003431/0.4322, allocations: 384.1 kB / 479.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004282/0.4326, allocations: 240.6 kB / 479.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4327, allocations: 357.9 kB / 480.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.4339, allocations: 0.6371 MB / 480.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.4353, allocations: 1.009 MB / 481.9 MB, free: 9.203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.4373, allocations: 1.692 MB / 483.6 MB, free: 8.047 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/0.4373, allocations: 3.969 kB / 483.6 MB, free: 8.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00352/0.4408, allocations: 1.959 MB / 485.6 MB, free: 7.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.4409, allocations: 9.969 kB / 485.6 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/0.4409, allocations: 11.62 kB / 485.6 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003913/0.4413, allocations: 123 kB / 485.7 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.4426, allocations: 338.7 kB / 486 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.4449, allocations: 3.435 MB / 489.5 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.4463, allocations: 95.67 kB / 489.6 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/0.4465, allocations: 55.98 kB / 489.6 MB, free: 2.992 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * 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 {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001443/0.448, allocations: 0.8377 MB / 490.4 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005061/0.4485, allocations: 157.4 kB / 490.6 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.451, allocations: 1.406 MB / 492 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.451, allocations: 8 kB / 492 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/0.451, allocations: 6.25 kB / 492 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.451, allocations: 7.984 kB / 492 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005318/0.4564, allocations: 2.453 MB / 494.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/0.4564, allocations: 0 / 494.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009639/0.4574, allocations: 187.8 kB / 494.7 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000808/0.4582, allocations: 256.9 kB / 494.9 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/0.4584, allocations: 39.91 kB / 495 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007405/0.4658, allocations: 6.254 MB / 0.4895 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.4658, allocations: 4.031 kB / 0.4895 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005092/0.4709, allocations: 2.562 MB / 0.492 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007491/0.4717, allocations: 263.9 kB / 0.4922 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000451/0.4722, allocations: 24 kB / 0.4922 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.4734, allocations: 91.89 kB / 0.4923 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000308/0.4737, allocations: 108.8 kB / 0.4924 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.4738, allocations: 31.98 kB / 0.4925 GB, free: 3.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002168/0.476, allocations: 1.128 MB / 0.4936 GB, free: 2.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.476, allocations: 0 / 0.4936 GB, free: 2.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002373/0.4784, allocations: 448 kB / 0.494 GB, free: 2.207 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[3].Phi.im) * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005332/0.4838, allocations: 3.176 MB / 0.4971 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003473/0.4873, allocations: 1.718 MB / 0.4988 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.4873, allocations: 128 / 0.4988 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002169/0.4895, allocations: 1.187 MB / 0.4999 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/0.4916, allocations: 287.8 kB / 0.5002 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03204/0.5237, allocations: 17.44 MB / 0.5172 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002448/0.5262, allocations: 2.105 MB / 0.5193 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001364/0.5276, allocations: 455.5 kB / 0.5197 GB, free: 7.207 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/0.5289, allocations: 0.8234 MB / 0.5205 GB, free: 6.383 MB / 414.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5289, allocations: 0 / 0.5205 GB, free: 6.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09508/0.624, allocations: 38.27 MB / 0.5579 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.67, allocations: 12.12 kB / 0.5579 GB, free: 0.5039 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_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_PolyphaseInductance.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.292615763028152] Failed to read output from testmodel.py, exit status != 0: ['time', 'converter_m.singlePhaseElectroMagneticConverter[1].Phi.re', 'converter_m.singlePhaseElectroMagneticConverter[2].Phi.im', 'inductor_e.inductor[1].i', 'inductor_e.inductor[2].i', 'inductor_e.inductor[3].i'] 13.774629004998133 13.796929045 13.637203103 Calling exit ...