Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 112.8 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 205.6 kB / 22.11 MB, free: 0.9531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 207.6 MB / 232.5 MB, free: 11.5 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Steinmetz",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Steinmetz",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 51.94 kB / 343 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2739, allocations: 49.12 MB / 392.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01336/0.2873, allocations: 13.64 MB / 405.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.2976, allocations: 4.456 MB / 410.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004067/0.3017, allocations: 89.5 kB / 410.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004034/0.3057, allocations: 1.042 MB / 411.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005877/0.3116, allocations: 1.308 MB / 412.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003404/0.315, allocations: 0.9166 MB / 413.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009068/0.3241, allocations: 4.107 MB / 417.7 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004733/0.3288, allocations: 2.218 MB / 419.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004026/0.3328, allocations: 1.941 MB / 421.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003486/0.3363, allocations: 2.106 MB / 424 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001062/0.3374, allocations: 0.5094 MB / 424.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.3396, allocations: 0.716 MB / 425.2 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.3406, allocations: 1.122 MB / 426.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002722/0.3434, allocations: 2.132 MB / 428.4 MB, free: 0 / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008398/0.3518, allocations: 6.724 MB / 435.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.3518, allocations: 4 kB / 435.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3518, allocations: 0 / 435.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001488/0.3519, allocations: 4 kB / 435.2 MB, free: 9.25 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.0119/0.3638, allocations: 4.488 MB / 439.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.3639, allocations: 12.03 kB / 439.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.46e-05/0.364, allocations: 82.64 kB / 439.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006271/0.3646, allocations: 459.8 kB / 440.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0042/0.3688, allocations: 0.83 MB / 441 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004312/0.3731, allocations: 2.3 MB / 443.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.3733, allocations: 246.6 kB / 443.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005979/0.3739, allocations: 323.9 kB / 443.9 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007473/0.3814, allocations: 4.27 MB / 448.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.567e-05/0.3814, allocations: 4 kB / 448.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003034/0.3817, allocations: 128 kB / 448.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/0.3819, allocations: 150.4 kB / 448.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006116/0.388, allocations: 3.594 MB / 452 MB, free: 8.184 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02161/0.4096, allocations: 13.74 MB / 465.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006895/0.4165, allocations: 6.426 MB / 472.2 MB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002309/0.4188, allocations: 1.277 MB / 473.5 MB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006545/0.4254, allocations: 3.632 MB / 477.1 MB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.4254, allocations: 47.81 kB / 477.2 MB, free: 13.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=134): time 3.457e-06/0.4254, allocations: 0 / 477.2 MB, free: 13.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=137): time 0.01163/0.4371, allocations: 5.915 MB / 483.1 MB, free: 7.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.4371, allocations: 64.72 kB / 483.1 MB, free: 7.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002583/0.4397, allocations: 1.78 MB / 484.9 MB, free: 5.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.4398, allocations: 53.7 kB / 485 MB, free: 5.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.4409, allocations: 1.474 MB / 486.4 MB, free: 4.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004226/0.4414, allocations: 499.7 kB / 486.9 MB, free: 3.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004829/0.4418, allocations: 319.4 kB / 487.2 MB, free: 3.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.442, allocations: 305.1 kB / 487.5 MB, free: 3.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.4431, allocations: 0.6793 MB / 488.2 MB, free: 2.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.4446, allocations: 1.197 MB / 489.4 MB, free: 1.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/0.4476, allocations: 1.995 MB / 491.4 MB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.4476, allocations: 8 kB / 491.4 MB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004337/0.4519, allocations: 2.544 MB / 494 MB, free: 12.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.4519, allocations: 12 kB / 494 MB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.452, allocations: 16 kB / 494 MB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009781/0.4529, allocations: 364.3 kB / 494.3 MB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.4543, allocations: 379.4 kB / 494.7 MB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008181/0.4625, allocations: 8.419 MB / 0.4913 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.464, allocations: 79.91 kB / 0.4914 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.4641, allocations: 68 kB / 0.4915 GB, free: 2.309 MB / 414.1 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.001752/0.4658, allocations: 1.013 MB / 0.4925 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003479/0.4662, allocations: 202.7 kB / 0.4927 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004005/0.4702, allocations: 2.27 MB / 0.4949 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.4702, allocations: 12 kB / 0.4949 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.4702, allocations: 8 kB / 0.4949 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.4702, allocations: 7.969 kB / 0.4949 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008027/0.4783, allocations: 5.06 MB / 0.4998 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.4783, allocations: 0 / 0.4998 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007973/0.4791, allocations: 171.8 kB / 0.5 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001464/0.4805, allocations: 0.5399 MB / 0.5005 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.901e-05/0.4806, allocations: 43.92 kB / 0.5006 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01475/0.4954, allocations: 13.22 MB / 0.5135 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.4954, allocations: 3.938 kB / 0.5135 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005291/0.5007, allocations: 3.207 MB / 0.5166 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009411/0.5016, allocations: 439.6 kB / 0.517 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/0.5019, allocations: 35.98 kB / 0.5171 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000859/0.5027, allocations: 63.95 kB / 0.5171 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002978/0.503, allocations: 105.2 kB / 0.5172 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.704e-05/0.5031, allocations: 44 kB / 0.5173 GB, free: 6.707 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00186/0.505, allocations: 1.219 MB / 0.5185 GB, free: 5.496 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.505, allocations: 0 / 0.5185 GB, free: 5.496 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002036/0.507, allocations: 0.5781 MB / 0.519 GB, free: 4.918 MB / 446.1 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.005437/0.5124, allocations: 3.83 MB / 0.5228 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003699/0.5161, allocations: 2.283 MB / 0.525 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.5161, allocations: 4.562 kB / 0.525 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002627/0.5188, allocations: 1.703 MB / 0.5267 GB, free: 12.85 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.5213, allocations: 0.5406 MB / 0.5272 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0336/0.5549, allocations: 20.25 MB / 0.547 GB, free: 7.305 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00223/0.5571, allocations: 2.307 MB / 0.5492 GB, free: 4.973 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001293/0.5584, allocations: 397 kB / 0.5496 GB, free: 4.582 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/0.5598, allocations: 1.136 MB / 0.5507 GB, free: 3.445 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5598, allocations: 0 / 0.5507 GB, free: 3.445 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2753/0.8352, allocations: 53.87 MB / 0.6033 GB, free: 116.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.08, allocations: 11.97 kB / 0.6033 GB, free: 116.3 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Steinmetz.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.488844008999877] 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'] 14.247054876002949 14.260301877 13.906012341 Calling exit ...