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.SeriesResonance.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.001421/0.001421, 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.001539/0.001539, allocations: 213.7 kB / 22.92 MB, free: 5.535 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.292/1.292, allocations: 230.5 MB / 256.4 MB, free: 8.43 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.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",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.001787/0.001787, allocations: 71.81 kB / 376.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1943, allocations: 53.32 MB / 429.4 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004733/0.1991, allocations: 3.739 MB / 433.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.2012, allocations: 1.518 MB / 434.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.2014, allocations: 8 kB / 434.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.203, allocations: 0.7506 MB / 435.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007786/0.2038, allocations: 397.4 kB / 435.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009668/0.2047, allocations: 0.5575 MB / 436.4 MB, free: 460 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000448/0.2052, allocations: 454 kB / 436.8 MB, free: 4 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004982/0.2057, allocations: 302.3 kB / 437.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.206, allocations: 207.2 kB / 437.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.2063, allocations: 270.9 kB / 437.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.828e-05/0.2063, allocations: 44 kB / 437.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.2067, allocations: 211.8 kB / 437.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.666e-05/0.2068, allocations: 115.6 kB / 437.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.207, allocations: 222.9 kB / 438.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007251/0.2077, allocations: 0.6926 MB / 438.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2077, allocations: 0 / 438.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2077, allocations: 4 kB / 438.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2077, allocations: 0 / 438.8 MB, free: 13.95 MB / 350.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.001923/0.2096, allocations: 0.9161 MB / 439.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2097, allocations: 8.031 kB / 439.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001416/0.2098, allocations: 107.9 kB / 439.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003269/0.2131, allocations: 468.2 kB / 440.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.2134, allocations: 303.7 kB / 440.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.2135, allocations: 41.69 kB / 440.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.99e-05/0.2136, allocations: 60.33 kB / 440.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008639/0.2144, allocations: 0.5218 MB / 441.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.2144, allocations: 0 / 441.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/0.2145, allocations: 23.94 kB / 441.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.2145, allocations: 16 kB / 441.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009899/0.2155, allocations: 0.5751 MB / 441.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.2183, allocations: 1.949 MB / 443.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.2205, allocations: 2.144 MB / 446 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.2208, allocations: 190 kB / 446.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.221, allocations: 186.5 kB / 446.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.221, allocations: 35 kB / 446.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.443e-06/0.221, allocations: 0 / 446.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001866/0.2229, allocations: 0.7857 MB / 447.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.2229, allocations: 59.83 kB / 447.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.2231, allocations: 194.2 kB / 447.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.2231, allocations: 29.7 kB / 447.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.2232, allocations: 225 kB / 447.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.2234, allocations: 174.5 kB / 447.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.2235, allocations: 90.19 kB / 447.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2236, allocations: 330.8 kB / 448.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.2239, allocations: 153 kB / 448.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.2243, allocations: 224.8 kB / 448.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006521/0.2249, allocations: 407.4 kB / 449 MB, free: 3.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2249, allocations: 0 / 449 MB, free: 3.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009909/0.2259, allocations: 0.5319 MB / 449.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2259, allocations: 11.94 kB / 449.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2259, allocations: 0 / 449.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003169/0.2262, allocations: 88.8 kB / 449.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.2266, allocations: 91.89 kB / 449.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.2286, allocations: 2.049 MB / 451.8 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.2289, allocations: 43.66 kB / 451.8 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.2289, allocations: 19.94 kB / 451.8 MB, free: 28 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001974/0.2291, allocations: 169.8 kB / 452 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/0.2292, allocations: 27.81 kB / 452 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.2302, allocations: 0.5395 MB / 452.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.2302, allocations: 4 kB / 452.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2302, allocations: 4 kB / 452.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.2302, allocations: 7.922 kB / 452.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.2319, allocations: 1.139 MB / 453.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2319, allocations: 0 / 453.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.2322, allocations: 75.89 kB / 453.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002727/0.2324, allocations: 88.8 kB / 453.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.2325, allocations: 16 kB / 453.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.2344, allocations: 2.034 MB / 455.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.2344, allocations: 64 / 455.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.2357, allocations: 0.7932 MB / 456.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.547e-05/0.2358, allocations: 112.9 kB / 456.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.2358, allocations: 8 kB / 456.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.236, allocations: 19.98 kB / 456.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.2361, allocations: 36.52 kB / 456.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.2361, allocations: 19.98 kB / 456.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.2362, allocations: 132.2 kB / 457 MB, free: 10.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2362, allocations: 0 / 457 MB, free: 10.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005325/0.2368, allocations: 151.7 kB / 457.2 MB, free: 10.41 MB / 366.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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001687/0.2385, allocations: 1.38 MB / 458.6 MB, free: 8.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009832/0.2394, allocations: 0.5386 MB / 459.1 MB, free: 8.445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2395, allocations: 4 kB / 459.1 MB, free: 8.441 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005362/0.24, allocations: 357.4 kB / 459.5 MB, free: 8.078 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.2403, allocations: 31.98 kB / 459.5 MB, free: 8.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.245, allocations: 3.407 MB / 462.9 MB, free: 4.516 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.2454, allocations: 0.8084 MB / 463.7 MB, free: 3.676 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.2455, allocations: 46.95 kB / 463.8 MB, free: 3.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.2457, allocations: 139.4 kB / 463.9 MB, free: 3.492 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2457, allocations: 0 / 463.9 MB, free: 3.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.2802, allocations: 7.761 MB / 471.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.881/9.161, allocations: 21.66 kB / 471.7 MB, free: 11.83 MB / 382.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.247588309001003]