Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.001404/0.001404, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001494/0.001494, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.278/1.278, allocations: 230.4 MB / 256.4 MB, free: 8.258 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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",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.001786/0.001786, allocations: 71.83 kB / 376.1 MB, free: 4.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2062, allocations: 53.31 MB / 429.4 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01679/0.223, allocations: 16.71 MB / 446.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007995/0.231, allocations: 4.723 MB / 450.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.2324, allocations: 135.6 kB / 451 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01407/0.2464, allocations: 7.224 MB / 458.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005236/0.2517, allocations: 1.97 MB / 460.2 MB, free: 8.691 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003462/0.2551, allocations: 1.545 MB / 461.7 MB, free: 7.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01048/0.2656, allocations: 9.534 MB / 471.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01903/0.2846, allocations: 12.84 MB / 484.1 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006075/0.2907, allocations: 5.268 MB / 489.4 MB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00809/0.2988, allocations: 5.977 MB / 495.3 MB, free: 5.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002083/0.3009, allocations: 1.359 MB / 496.7 MB, free: 3.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.304, allocations: 1.664 MB / 498.4 MB, free: 2.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002341/0.3063, allocations: 2.798 MB / 0.4894 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005606/0.3119, allocations: 5.366 MB / 0.4946 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0166/0.3285, allocations: 18.41 MB / 0.5126 GB, free: 7.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3285, allocations: 0 / 0.5126 GB, free: 7.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3285, allocations: 7.938 kB / 0.5126 GB, free: 7.633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003247/0.3289, allocations: 0 / 0.5126 GB, free: 7.633 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.03013/0.359, allocations: 12.32 MB / 0.5247 GB, free: 11.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.359, allocations: 8.031 kB / 0.5247 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002959/0.362, allocations: 1.517 MB / 0.5262 GB, free: 9.676 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03323/0.3952, allocations: 6.195 MB / 0.5322 GB, free: 3.469 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3203/0.7155, allocations: 5.838 MB / 0.5379 GB, free: 86.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004966/0.716, allocations: 0.677 MB / 0.5386 GB, free: 86.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002453/0.7185, allocations: 0.8723 MB / 0.5394 GB, free: 85.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0249/0.7434, allocations: 14.76 MB / 0.5538 GB, free: 80.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001761/0.7435, allocations: 11.23 kB / 0.5538 GB, free: 80.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009252/0.7445, allocations: 369.6 kB / 0.5542 GB, free: 80.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003167/0.7448, allocations: 0.4914 MB / 0.5547 GB, free: 79.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0177/0.7625, allocations: 13.57 MB / 0.5679 GB, free: 68.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05246/0.8149, allocations: 44.74 MB / 0.6116 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008762/0.8237, allocations: 11.25 MB / 0.6226 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003154/0.8268, allocations: 2.865 MB / 0.6254 GB, free: 8.219 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003198/0.8272, allocations: 292.8 kB / 0.6257 GB, free: 7.922 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.8272, allocations: 78.55 kB / 0.6258 GB, free: 7.836 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 5.431e-06/0.8272, allocations: 0 / 0.6258 GB, free: 7.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01716/0.8444, allocations: 9.58 MB / 0.6351 GB, free: 14.21 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/0.8444, allocations: 121.1 kB / 0.6352 GB, free: 14.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004462/0.8489, allocations: 3.153 MB / 0.6383 GB, free: 10.95 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002785/0.8492, allocations: 101.6 kB / 0.6384 GB, free: 10.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002413/0.8516, allocations: 3.833 MB / 0.6421 GB, free: 7.477 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001253/0.8529, allocations: 1.458 MB / 0.6436 GB, free: 6.039 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001761/0.8546, allocations: 1.148 MB / 0.6447 GB, free: 4.879 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.8547, allocations: 307.6 kB / 0.645 GB, free: 4.578 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004196/0.8589, allocations: 2.841 MB / 0.6478 GB, free: 1.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005699/0.8646, allocations: 4.91 MB / 0.6526 GB, free: 11.88 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/0.8748, allocations: 8.275 MB / 0.6606 GB, free: 2.668 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.6e-05/0.8748, allocations: 20 kB / 0.6607 GB, free: 2.648 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01425/0.889, allocations: 9.12 MB / 0.6696 GB, free: 9.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/0.8891, allocations: 36.03 kB / 0.6696 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.529e-05/0.8892, allocations: 68 kB / 0.6697 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003149/0.8923, allocations: 1.142 MB / 0.6708 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004284/0.8966, allocations: 1.299 MB / 0.672 GB, free: 6.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/0.9111, allocations: 10.82 MB / 0.6826 GB, free: 11.88 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003953/0.9151, allocations: 0.7452 MB / 0.6833 GB, free: 11.12 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006423/0.9157, allocations: 284 kB / 0.6836 GB, free: 10.85 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005036/0.9208, allocations: 3.42 MB / 0.6869 GB, free: 7.414 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007119/0.9215, allocations: 365.7 kB / 0.6873 GB, free: 7.055 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/0.933, allocations: 6.87 MB / 0.694 GB, free: 160 kB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008933/0.9419, allocations: 5.729 MB / 0.6996 GB, free: 10.41 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/0.942, allocations: 12.25 kB / 0.6996 GB, free: 10.4 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.64e-05/0.942, allocations: 19.92 kB / 0.6996 GB, free: 10.38 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02326/0.9653, allocations: 15.26 MB / 0.7145 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/0.9653, allocations: 12 kB / 0.7145 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002872/0.9682, allocations: 0.7918 MB / 0.7153 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003053/0.9712, allocations: 1.06 MB / 0.7163 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002862/0.9715, allocations: 120 kB / 0.7165 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01421/0.9857, allocations: 10.57 MB / 0.7268 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.459e-05/0.9857, allocations: 23.81 kB / 0.7268 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/1.002, allocations: 10.69 MB / 0.7372 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001891/1.003, allocations: 1.013 MB / 0.7382 GB, free: 2.062 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004557/1.004, allocations: 95.98 kB / 0.7383 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/1.006, allocations: 279.6 kB / 0.7386 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006166/1.007, allocations: 339.2 kB / 0.7389 GB, free: 1.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002604/1.007, allocations: 152.2 kB / 0.7391 GB, free: 1.215 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.1745/1.181, allocations: 2.123 MB / 0.7411 GB, free: 177.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/1.181, allocations: 0 / 0.7411 GB, free: 177.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006082/1.187, allocations: 2.255 MB / 0.7433 GB, free: 177.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01248/1.2, allocations: 11.43 MB / 0.7545 GB, free: 174.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008649/1.209, allocations: 7.168 MB / 0.7615 GB, free: 171.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.209, allocations: 2.906 kB / 0.7615 GB, free: 171.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004424/1.213, allocations: 3.41 MB / 0.7648 GB, free: 170.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00326/1.216, allocations: 0.8043 MB / 0.7656 GB, free: 170 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05197/1.268, allocations: 51.93 MB / 0.8163 GB, free: 126.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003844/1.272, allocations: 5.934 MB / 0.8221 GB, free: 120.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003822/1.276, allocations: 2.158 MB / 0.8242 GB, free: 118.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002624/1.279, allocations: 3.03 MB / 0.8272 GB, free: 115.1 MB / 0.545 GB Notification: Performance of SimCode: time 7.91e-07/1.279, allocations: 0 / 0.8272 GB, free: 115.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1361/1.415, allocations: 115.8 MB / 0.9403 GB, free: 15.7 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/17.43, allocations: 7.938 kB / 0.9403 GB, free: 15.69 MB / 0.5607 GB " [Timeout remaining time 642] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.904851125000278]