Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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.001848/0.001848, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.002279/0.002279, allocations: 214.2 kB / 21.45 MB, free: 1.637 MB / 14.72 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 1.512/1.512, allocations: 230.5 MB / 254.7 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] 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_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 71.89 kB / 373.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1096, allocations: 53.37 MB / 427.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.2413/0.3508, allocations: 17.54 MB / 444.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0147/0.3655, allocations: 5.988 MB / 450.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005045/0.3706, allocations: 146.2 kB / 450.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005424/0.376, allocations: 1.413 MB / 452.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008155/0.3842, allocations: 1.837 MB / 454 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.388, allocations: 1.09 MB / 455.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01156/0.3995, allocations: 6.373 MB / 461.5 MB, free: 6.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00689/0.4064, allocations: 3.764 MB / 465.2 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008151/0.4146, allocations: 3.045 MB / 468.3 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007886/0.4224, allocations: 3.528 MB / 471.8 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00259/0.425, allocations: 0.7927 MB / 472.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004191/0.4292, allocations: 1.093 MB / 473.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003145/0.4324, allocations: 1.887 MB / 475.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008386/0.4408, allocations: 3.363 MB / 478.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01577/0.4565, allocations: 10.63 MB / 489.6 MB, free: 2.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4565, allocations: 0 / 489.6 MB, free: 2.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4565, allocations: 0 / 489.6 MB, free: 2.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000306/0.4568, allocations: 0 / 489.6 MB, free: 2.141 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.02097/0.4778, allocations: 6.713 MB / 496.3 MB, free: 11.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.4779, allocations: 8.031 kB / 496.3 MB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001649/0.478, allocations: 130 kB / 496.4 MB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002014/0.48, allocations: 0.6791 MB / 497.1 MB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006748/0.4868, allocations: 1.098 MB / 498.2 MB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008403/0.4952, allocations: 3.713 MB / 0.4901 GB, free: 5.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004111/0.4956, allocations: 365.8 kB / 0.4905 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/0.4972, allocations: 483.9 kB / 0.4909 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01749/0.5147, allocations: 6.909 MB / 0.4977 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001675/0.5148, allocations: 7.984 kB / 0.4977 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001367/0.5162, allocations: 196 kB / 0.4979 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000313/0.5165, allocations: 253.9 kB / 0.4981 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01527/0.5318, allocations: 5.962 MB / 0.504 GB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04316/0.575, allocations: 21.17 MB / 0.5246 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01215/0.5871, allocations: 9.747 MB / 0.5341 GB, free: 6.949 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004819/0.5919, allocations: 2.302 MB / 0.5364 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01317/0.6051, allocations: 6.748 MB / 0.543 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.229e-05/0.6052, allocations: 60.56 kB / 0.543 GB, free: 13.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=219): time 4.739e-06/0.6052, allocations: 0 / 0.543 GB, free: 13.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=226): time 0.02183/0.627, allocations: 9.745 MB / 0.5526 GB, free: 3.711 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.6271, allocations: 73.41 kB / 0.5526 GB, free: 3.625 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005703/0.6328, allocations: 3.021 MB / 0.5556 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005075/0.6333, allocations: 65.64 kB / 0.5556 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001923/0.6352, allocations: 2.237 MB / 0.5578 GB, free: 14.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/0.6362, allocations: 0.8095 MB / 0.5586 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008372/0.637, allocations: 469.2 kB / 0.5591 GB, free: 12.98 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.6372, allocations: 301.1 kB / 0.5593 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.6394, allocations: 1.293 MB / 0.5606 GB, free: 11.39 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002731/0.6421, allocations: 1.916 MB / 0.5625 GB, free: 9.215 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005362/0.6475, allocations: 3.344 MB / 0.5657 GB, free: 5.621 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.617e-05/0.6475, allocations: 4 kB / 0.5657 GB, free: 5.617 MB / 478.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.008396/0.6559, allocations: 4.25 MB / 0.5699 GB, free: 1.324 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.6559, allocations: 12 kB / 0.5699 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-05/0.656, allocations: 20 kB / 0.5699 GB, free: 1.293 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002679/0.6587, allocations: 0.7752 MB / 0.5707 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002628/0.6613, allocations: 0.5617 MB / 0.5712 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/0.674, allocations: 10.9 MB / 0.5819 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/0.6768, allocations: 103.9 kB / 0.582 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004184/0.6773, allocations: 100 kB / 0.5821 GB, free: 4.293 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 273 * 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 {(3,25,77.8%), (1,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.003094/0.6803, allocations: 1.624 MB / 0.5837 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008853/0.6812, allocations: 337.9 kB / 0.584 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007399/0.6886, allocations: 3.883 MB / 0.5878 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/0.6887, allocations: 20 kB / 0.5878 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.27e-05/0.6887, allocations: 12 kB / 0.5878 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.438e-05/0.6887, allocations: 11.95 kB / 0.5878 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/0.7046, allocations: 8.553 MB / 0.5962 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.7046, allocations: 4.062 kB / 0.5962 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.7062, allocations: 347.5 kB / 0.5965 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003329/0.7096, allocations: 0.9497 MB / 0.5974 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002527/0.7098, allocations: 55.92 kB / 0.5975 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01739/0.7272, allocations: 15.76 MB / 0.6129 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7272, allocations: 4 kB / 0.6129 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2296/0.9569, allocations: 5.682 MB / 0.6184 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/0.9588, allocations: 0.7023 MB / 0.6191 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006223/0.9594, allocations: 54.84 kB / 0.6192 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.961, allocations: 114.1 kB / 0.6193 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004928/0.9615, allocations: 184.3 kB / 0.6194 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/0.9616, allocations: 62.77 kB / 0.6195 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00362/0.9652, allocations: 2.078 MB / 0.6215 GB, free: 157 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9652, allocations: 0 / 0.6215 GB, free: 157 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004306/0.9695, allocations: 0.9473 MB / 0.6225 GB, free: 157 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * 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,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,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.01063/0.9802, allocations: 6.41 MB / 0.6287 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006711/0.9869, allocations: 3.777 MB / 0.6324 GB, free: 152.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/0.9869, allocations: 1.25 kB / 0.6324 GB, free: 152.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004104/0.991, allocations: 2.564 MB / 0.6349 GB, free: 151.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004578/0.9956, allocations: 0.9316 MB / 0.6358 GB, free: 151.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0544/1.05, allocations: 33.85 MB / 0.6689 GB, free: 132.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002967/1.053, allocations: 3.442 MB / 0.6722 GB, free: 129.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002361/1.055, allocations: 0.7645 MB / 0.673 GB, free: 128.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001913/1.057, allocations: 1.855 MB / 0.6748 GB, free: 126.9 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/1.057, allocations: 4 kB / 0.6748 GB, free: 126.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1852/1.242, allocations: 86.58 MB / 0.7594 GB, free: 41.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.99/18.23, allocations: 4.062 kB / 0.7594 GB, free: 41.02 MB / 0.5137 GB " [Timeout remaining time 642] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.061194794019684] 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]', 'loadInertia.phi', 'loadInertia.w', 'transformer.l2sigma.inductor[1].i', 'transformer.l2sigma.inductor[3].i'] 18.424500324006658 18.434273619 17.975226058 Calling exit ...