Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 107.9 kB / 18.48 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 198.5 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 225.6 MB / 249.8 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_0_0_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_4_0_0_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.001515/0.001515, allocations: 51.92 kB / 366.4 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1184, allocations: 52.14 MB / 418.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.02087/0.1393, allocations: 16.89 MB / 435.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01355/0.1528, allocations: 5.7 MB / 441.1 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004284/0.1571, allocations: 139.1 kB / 441.2 MB, free: 5.754 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005419/0.1625, allocations: 1.402 MB / 442.6 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007769/0.1703, allocations: 1.844 MB / 444.5 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003506/0.1738, allocations: 1.042 MB / 445.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2186/0.3924, allocations: 6.281 MB / 451.8 MB, free: 8.672 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006395/0.3988, allocations: 3.767 MB / 455.6 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005828/0.4046, allocations: 3.006 MB / 458.6 MB, free: 7.824 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007098/0.4117, allocations: 3.383 MB / 462 MB, free: 7.266 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002802/0.4145, allocations: 0.7884 MB / 462.7 MB, free: 7.266 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00419/0.4187, allocations: 1.067 MB / 463.8 MB, free: 7.266 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002994/0.4217, allocations: 1.879 MB / 465.7 MB, free: 6.777 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008506/0.4302, allocations: 3.351 MB / 469 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01656/0.4468, allocations: 10.56 MB / 479.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.4468, allocations: 1.031 kB / 479.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4468, allocations: 0 / 479.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004143/0.4472, allocations: 0 / 479.6 MB, free: 15.65 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.02199/0.4692, allocations: 6.662 MB / 486.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.4693, allocations: 13.27 kB / 486.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001794/0.4694, allocations: 132.8 kB / 486.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002617/0.472, allocations: 0.6718 MB / 487.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006233/0.4783, allocations: 1.081 MB / 488.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009617/0.4879, allocations: 3.675 MB / 491.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004241/0.4883, allocations: 365.2 kB / 492.2 MB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002137/0.4905, allocations: 480.5 kB / 492.7 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/0.5072, allocations: 6.882 MB / 499.5 MB, free: 192 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001835/0.5074, allocations: 4 kB / 499.5 MB, free: 188 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001233/0.5087, allocations: 195.5 kB / 499.7 MB, free: 0 / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002792/0.5089, allocations: 245.8 kB / 500 MB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01311/0.522, allocations: 5.936 MB / 0.4941 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04245/0.5645, allocations: 20.71 MB / 0.5143 GB, free: 5.141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/0.576, allocations: 9.734 MB / 0.5238 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004559/0.5805, allocations: 2.302 MB / 0.526 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0124/0.5929, allocations: 6.484 MB / 0.5324 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/0.593, allocations: 56.56 kB / 0.5324 GB, free: 1.547 MB / 430.1 MB Notification: Performance of pre-optimization done (n=219): time 3.347e-06/0.593, allocations: 0 / 0.5324 GB, free: 1.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=226): time 0.01982/0.6128, allocations: 9.723 MB / 0.5419 GB, free: 7.676 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.6129, allocations: 77.41 kB / 0.542 GB, free: 7.586 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005448/0.6183, allocations: 2.988 MB / 0.5449 GB, free: 4.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004978/0.6188, allocations: 61.7 kB / 0.545 GB, free: 4.516 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.6207, allocations: 2.226 MB / 0.5471 GB, free: 2.281 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009442/0.6216, allocations: 0.7983 MB / 0.5479 GB, free: 1.496 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008482/0.6225, allocations: 465.2 kB / 0.5484 GB, free: 1.035 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.6227, allocations: 305.1 kB / 0.5487 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002251/0.6249, allocations: 1.297 MB / 0.5499 GB, free: 15.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/0.6276, allocations: 1.912 MB / 0.5518 GB, free: 13.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004954/0.6326, allocations: 3.335 MB / 0.5551 GB, free: 9.758 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/0.6326, allocations: 9.781 kB / 0.5551 GB, free: 9.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.007639/0.6402, allocations: 4.242 MB / 0.5592 GB, free: 5.594 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.6403, allocations: 16.44 kB / 0.5592 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.251e-05/0.6403, allocations: 20 kB / 0.5592 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002693/0.643, allocations: 0.779 MB / 0.56 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/0.6454, allocations: 0.5632 MB / 0.5605 GB, free: 4.242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/0.6578, allocations: 10.88 MB / 0.5712 GB, free: 8.867 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002791/0.6606, allocations: 111.9 kB / 0.5713 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/0.6609, allocations: 104 kB / 0.5714 GB, free: 8.656 MB / 478.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.003108/0.664, allocations: 1.605 MB / 0.573 GB, free: 7.074 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009006/0.6649, allocations: 333.9 kB / 0.5733 GB, free: 6.746 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007582/0.6725, allocations: 3.885 MB / 0.5771 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.6725, allocations: 24 kB / 0.5771 GB, free: 2.812 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/0.6726, allocations: 8 kB / 0.5771 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.269e-05/0.6726, allocations: 11.95 kB / 0.5771 GB, free: 2.793 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/0.6883, allocations: 8.526 MB / 0.5854 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.6883, allocations: 4 kB / 0.5854 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/0.6899, allocations: 341.5 kB / 0.5858 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003179/0.6931, allocations: 0.9409 MB / 0.5867 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/0.6932, allocations: 55.98 kB / 0.5867 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0179/0.7111, allocations: 15.73 MB / 0.6021 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.7112, allocations: 7.781 kB / 0.6021 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/0.7212, allocations: 5.678 MB / 0.6076 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/0.7231, allocations: 0.7019 MB / 0.6083 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005679/0.7237, allocations: 55.98 kB / 0.6084 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/0.7252, allocations: 107.9 kB / 0.6085 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005039/0.7257, allocations: 185.8 kB / 0.6087 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.7258, allocations: 63.98 kB / 0.6087 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003763/0.7296, allocations: 2.062 MB / 0.6107 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7296, allocations: 0 / 0.6107 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004152/0.7337, allocations: 0.9457 MB / 0.6117 GB, free: 14.52 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%), (2,26,100.0%), (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.7444, allocations: 6.408 MB / 0.6179 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006605/0.751, allocations: 3.781 MB / 0.6216 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.751, allocations: 0 / 0.6216 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004419/0.7554, allocations: 2.545 MB / 0.6241 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00456/0.76, allocations: 0.9177 MB / 0.625 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2554/1.015, allocations: 33.74 MB / 0.6579 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003242/1.019, allocations: 3.427 MB / 0.6613 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002231/1.021, allocations: 0.7623 MB / 0.662 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001882/1.023, allocations: 1.838 MB / 0.6638 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of SimCode: time 8.71e-07/1.023, allocations: 0 / 0.6638 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.13/1.153, allocations: 86 MB / 0.7478 GB, free: 103.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.12/17.27, allocations: 12.59 kB / 0.7478 GB, free: 103.8 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.914180340012535] 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'] 17.45979666803032 17.469163442 17.019936304 Calling exit ...