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.001427/0.001427, allocations: 105 kB / 19.74 MB, free: 2.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.001623/0.001623, allocations: 218.6 kB / 22.92 MB, free: 5.539 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.299/1.299, allocations: 230.4 MB / 256.4 MB, free: 8.438 MB / 206.1 MB " [Timeout remaining time 179] 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.001775/0.001775, allocations: 59.84 kB / 376.1 MB, free: 4.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2098, allocations: 53.31 MB / 429.4 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.00823/0.218, allocations: 6.709 MB / 436.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00411/0.2221, allocations: 2.27 MB / 438.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007818/0.2229, allocations: 47.81 kB / 438.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000971/0.2239, allocations: 381.5 kB / 438.8 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.2261, allocations: 0.8549 MB / 439.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/0.227, allocations: 360.9 kB / 440 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003921/0.2309, allocations: 3.184 MB / 443.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.2323, allocations: 1.101 MB / 444.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.2339, allocations: 1.304 MB / 445.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.2358, allocations: 1.65 MB / 447.2 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004086/0.2363, allocations: 296 kB / 447.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008476/0.2371, allocations: 431.9 kB / 448 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008039/0.2379, allocations: 0.8606 MB / 448.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.2394, allocations: 1.462 MB / 450.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003861/0.2432, allocations: 4.115 MB / 454.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2432, allocations: 7.938 kB / 454.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2432, allocations: 0 / 454.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.948e-05/0.2433, allocations: 0 / 454.4 MB, free: 14.29 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.006992/0.2503, allocations: 3.557 MB / 458 MB, free: 10.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2503, allocations: 8.031 kB / 458 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003914/0.2507, allocations: 337.1 kB / 458.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003957/0.2546, allocations: 0.7524 MB / 459 MB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.2573, allocations: 1.735 MB / 460.8 MB, free: 7.773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.2574, allocations: 176.9 kB / 461 MB, free: 7.598 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003374/0.2577, allocations: 231.9 kB / 461.2 MB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004789/0.2625, allocations: 3.199 MB / 464.4 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/0.2626, allocations: 7.938 kB / 464.4 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/0.2628, allocations: 92 kB / 464.5 MB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.607e-05/0.2628, allocations: 69.98 kB / 464.5 MB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004493/0.2673, allocations: 2.866 MB / 467.4 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.2805, allocations: 9.175 MB / 476.6 MB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00505/0.2856, allocations: 4.325 MB / 480.9 MB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.2868, allocations: 0.7555 MB / 481.7 MB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0039/0.2907, allocations: 3.161 MB / 484.8 MB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.2907, allocations: 46.89 kB / 484.9 MB, free: 14.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 1.904e-06/0.2907, allocations: 0 / 484.9 MB, free: 14.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=100): time 0.007417/0.2981, allocations: 4.282 MB / 489.2 MB, free: 9.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.2982, allocations: 111.2 kB / 489.3 MB, free: 9.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/0.3002, allocations: 1.621 MB / 490.9 MB, free: 8.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/0.3003, allocations: 41.7 kB / 490.9 MB, free: 8.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007767/0.301, allocations: 1.149 MB / 492.1 MB, free: 7.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002836/0.3013, allocations: 368.9 kB / 492.4 MB, free: 6.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000346/0.3017, allocations: 242.8 kB / 492.7 MB, free: 6.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3018, allocations: 357.9 kB / 493 MB, free: 6.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.3028, allocations: 0.6349 MB / 493.7 MB, free: 5.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.3041, allocations: 1.012 MB / 494.7 MB, free: 4.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/0.3065, allocations: 1.703 MB / 496.4 MB, free: 2.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.3065, allocations: 4 kB / 496.4 MB, free: 2.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003092/0.3096, allocations: 1.957 MB / 498.3 MB, free: 424 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.3096, allocations: 15.88 kB / 498.3 MB, free: 408 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.3096, allocations: 12 kB / 498.4 MB, free: 396 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003245/0.3099, allocations: 121.6 kB / 498.5 MB, free: 268 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.3111, allocations: 335.6 kB / 498.8 MB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/0.3141, allocations: 3.426 MB / 0.4905 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000874/0.315, allocations: 99.67 kB / 0.4906 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-05/0.3151, allocations: 59.98 kB / 0.4906 GB, free: 12.07 MB / 414.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.001148/0.3162, allocations: 0.829 MB / 0.4914 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.3165, allocations: 163 kB / 0.4916 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.3189, allocations: 1.382 MB / 0.4929 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.3189, allocations: 11.94 kB / 0.4929 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.3189, allocations: 11.94 kB / 0.493 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.3189, allocations: 4.172 kB / 0.493 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003367/0.3223, allocations: 2.453 MB / 0.4954 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.3223, allocations: 7.938 kB / 0.4954 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007785/0.3231, allocations: 179.8 kB / 0.4955 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006045/0.3237, allocations: 269 kB / 0.4958 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.141e-05/0.3238, allocations: 31.98 kB / 0.4958 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006092/0.3299, allocations: 6.255 MB / 0.5019 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3299, allocations: 4.031 kB / 0.5019 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003926/0.3338, allocations: 2.554 MB / 0.5044 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/0.3342, allocations: 260 kB / 0.5047 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.3344, allocations: 35.94 kB / 0.5047 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008216/0.3352, allocations: 91.89 kB / 0.5048 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.3354, allocations: 92.3 kB / 0.5049 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.357e-05/0.3354, allocations: 31.98 kB / 0.5049 GB, free: 12.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001543/0.337, allocations: 1.132 MB / 0.506 GB, free: 11.71 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.337, allocations: 0 / 0.506 GB, free: 11.71 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001425/0.3384, allocations: 447.9 kB / 0.5064 GB, free: 11.27 MB / 430.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.004372/0.3428, allocations: 3.176 MB / 0.5095 GB, free: 8.047 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002917/0.3457, allocations: 1.665 MB / 0.5112 GB, free: 6.359 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/0.3457, allocations: 8.25 kB / 0.5112 GB, free: 6.352 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.3476, allocations: 1.152 MB / 0.5123 GB, free: 5.164 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.3491, allocations: 281.7 kB / 0.5126 GB, free: 4.891 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02349/0.3725, allocations: 17.47 MB / 0.5296 GB, free: 2.887 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001751/0.3743, allocations: 2.109 MB / 0.5317 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001055/0.3754, allocations: 455.5 kB / 0.5321 GB, free: 296 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009877/0.3763, allocations: 0.8274 MB / 0.5329 GB, free: 15.46 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3763, allocations: 0 / 0.5329 GB, free: 15.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2294/0.6057, allocations: 38.65 MB / 0.5707 GB, free: 106.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.58, allocations: 5.969 kB / 0.5707 GB, free: 106.7 MB / 462.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 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: 13.770996762999857]