Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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.0008553/0.0008553, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008739/0.0008739, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8794/0.8794, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.906e-05, allocations: 6.219 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01075/0.01076, allocations: 12.5 MB / 337 MB, free: 3.309 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007197/0.01796, allocations: 4.454 MB / 341.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001973/0.01994, allocations: 103.4 kB / 341.6 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.02217, allocations: 1.017 MB / 342.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003501/0.02568, allocations: 1.366 MB / 344 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.02748, allocations: 0.9194 MB / 344.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004146/0.03163, allocations: 4.336 MB / 349.2 MB, free: 7.062 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.03383, allocations: 1.746 MB / 351 MB, free: 5.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003464/0.0373, allocations: 2.866 MB / 353.8 MB, free: 2.379 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.03968, allocations: 1.754 MB / 355.6 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006699/0.04035, allocations: 0.5078 MB / 356.1 MB, free: 116 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.04154, allocations: 0.726 MB / 356.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.04257, allocations: 1.145 MB / 358 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.04421, allocations: 1.446 MB / 359.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006211/0.05042, allocations: 6.821 MB / 366.2 MB, free: 5.949 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.05043, allocations: 0 / 366.2 MB, free: 5.949 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.05043, allocations: 0 / 366.2 MB, free: 5.949 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001768/0.0506, allocations: 0 / 366.2 MB, free: 5.949 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.008618/0.05922, allocations: 4.408 MB / 370.7 MB, free: 1.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.866e-05/0.05929, allocations: 11.98 kB / 370.7 MB, free: 1.469 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005012/0.05979, allocations: 463.7 kB / 371.1 MB, free: 1.004 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/0.06207, allocations: 0.8261 MB / 371.9 MB, free: 180 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003543/0.06561, allocations: 2.38 MB / 374.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.06575, allocations: 246.8 kB / 374.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003572/0.0661, allocations: 332.3 kB / 374.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005678/0.07178, allocations: 4.421 MB / 379.3 MB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.354e-05/0.07185, allocations: 11.94 kB / 379.3 MB, free: 8.652 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/0.07206, allocations: 132 kB / 379.5 MB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.07217, allocations: 150.4 kB / 379.6 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004337/0.07651, allocations: 3.594 MB / 383.2 MB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01387/0.09038, allocations: 12.3 MB / 395.5 MB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/0.09344, allocations: 2.598 MB / 398.1 MB, free: 5.617 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.09489, allocations: 1.281 MB / 399.4 MB, free: 4.336 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004436/0.09932, allocations: 3.084 MB / 402.5 MB, free: 1.223 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.09936, allocations: 51.81 kB / 402.5 MB, free: 1.164 MB / 362.7 MB Notification: Performance of pre-optimization done (n=134): time 4.608e-06/0.09936, allocations: 4 kB / 402.5 MB, free: 1.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.008025/0.1074, allocations: 5.237 MB / 407.8 MB, free: 11.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.1074, allocations: 72.64 kB / 407.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/0.1097, allocations: 1.833 MB / 409.7 MB, free: 9.961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.1098, allocations: 49.7 kB / 409.7 MB, free: 9.906 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00077/0.1106, allocations: 1.482 MB / 411.2 MB, free: 8.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/0.1109, allocations: 0.4919 MB / 411.7 MB, free: 7.914 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003407/0.1113, allocations: 319.4 kB / 412 MB, free: 7.598 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.226e-05/0.1113, allocations: 301.1 kB / 412.3 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007493/0.1121, allocations: 0.6754 MB / 413 MB, free: 6.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009679/0.1131, allocations: 1.222 MB / 414.2 MB, free: 5.168 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/0.1151, allocations: 2.01 MB / 416.2 MB, free: 2.938 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.1151, allocations: 7.938 kB / 416.2 MB, free: 2.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.002832/0.118, allocations: 2.472 MB / 418.7 MB, free: 444 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.118, allocations: 12 kB / 418.7 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.118, allocations: 19.94 kB / 418.7 MB, free: 412 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006427/0.1186, allocations: 360.3 kB / 419.1 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/0.1194, allocations: 375.4 kB / 419.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0055/0.1249, allocations: 7.911 MB / 427.3 MB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.126, allocations: 71.92 kB / 427.4 MB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-05/0.1261, allocations: 79.98 kB / 427.5 MB, free: 7.156 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001471/0.1276, allocations: 1.005 MB / 428.5 MB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/0.1278, allocations: 206.7 kB / 428.7 MB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/0.1306, allocations: 2.127 MB / 430.8 MB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.1307, allocations: 12 kB / 430.8 MB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.1307, allocations: 8 kB / 430.8 MB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.1307, allocations: 11.97 kB / 430.8 MB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005173/0.1358, allocations: 4.609 MB / 435.5 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1358, allocations: 4.188 kB / 435.5 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.1363, allocations: 175.8 kB / 435.6 MB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008282/0.1371, allocations: 0.5359 MB / 436.2 MB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.671e-05/0.1372, allocations: 35.98 kB / 436.2 MB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008457/0.1456, allocations: 12.49 MB / 448.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.1456, allocations: 4.031 kB / 448.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1624/0.308, allocations: 3.058 MB / 451.8 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009745/0.309, allocations: 370.2 kB / 452.1 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.3091, allocations: 32.97 kB / 452.2 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/0.3097, allocations: 63.2 kB / 452.2 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/0.31, allocations: 113.1 kB / 452.3 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.248e-05/0.31, allocations: 42.02 kB / 452.4 MB, free: 110.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001388/0.3114, allocations: 1.237 MB / 453.6 MB, free: 110.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3114, allocations: 0 / 453.6 MB, free: 110.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001633/0.313, allocations: 0.5802 MB / 454.2 MB, free: 110.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003392/0.3164, allocations: 3.674 MB / 457.9 MB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002587/0.319, allocations: 2.215 MB / 460.1 MB, free: 107.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.319, allocations: 2.25 kB / 460.1 MB, free: 107.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001519/0.3205, allocations: 1.67 MB / 461.7 MB, free: 106.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.3223, allocations: 0.5589 MB / 462.3 MB, free: 106.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02323/0.3455, allocations: 20.02 MB / 482.3 MB, free: 87.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.3467, allocations: 1.753 MB / 484.1 MB, free: 86.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000918/0.3476, allocations: 405.2 kB / 484.5 MB, free: 85.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007889/0.3484, allocations: 1.145 MB / 485.6 MB, free: 84.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3484, allocations: 0 / 485.6 MB, free: 84.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07038/0.4188, allocations: 57.65 MB / 0.5305 GB, free: 27.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.471/8.89, allocations: 4 kB / 0.5305 GB, free: 27.41 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.77109113521874] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'cRun.v', 'cStart.v', 'loadInertia.phi', 'loadInertia.w'] 9.001008031889796 9.007571189 8.955538821 Calling exit ...