Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.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.001336/0.001336, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.395/1.395, allocations: 230.6 MB / 252.7 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] 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.001848/0.001848, allocations: 207.3 kB / 309.2 MB, free: 2.941 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04149/0.04149, allocations: 8.915 MB / 374.6 MB, free: 1.715 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.InductionMachines.IMC_Inverter2,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Inverter2,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 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.00274/0.00274, allocations: 79.88 kB / 0.4892 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2795, allocations: 55.6 MB / 0.5435 GB, free: 26.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01139/0.2909, allocations: 12.05 MB / 0.5552 GB, free: 18.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008064/0.299, allocations: 4.366 MB / 0.5595 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/0.3011, allocations: 112.3 kB / 0.5596 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002301/0.3034, allocations: 1.034 MB / 0.5606 GB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003243/0.3066, allocations: 1.295 MB / 0.5619 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.3084, allocations: 0.8854 MB / 0.5627 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003896/0.3123, allocations: 4.09 MB / 0.5667 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00275/0.315, allocations: 1.893 MB / 0.5686 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002861/0.3179, allocations: 1.996 MB / 0.5705 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003932/0.3218, allocations: 2.152 MB / 0.5726 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001072/0.3229, allocations: 0.5232 MB / 0.5731 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002189/0.3251, allocations: 0.7349 MB / 0.5739 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009686/0.3261, allocations: 1.153 MB / 0.575 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002464/0.3285, allocations: 1.725 MB / 0.5767 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008028/0.3365, allocations: 6.974 MB / 0.5835 GB, free: 2.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3365, allocations: 0 / 0.5835 GB, free: 2.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3366, allocations: 0 / 0.5835 GB, free: 2.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001864/0.3367, allocations: 0 / 0.5835 GB, free: 2.016 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: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.01469/0.3514, allocations: 4.482 MB / 0.5879 GB, free: 15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.3515, allocations: 10.09 kB / 0.5879 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001141/0.3526, allocations: 0.5183 MB / 0.5884 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004677/0.3573, allocations: 0.8242 MB / 0.5892 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006912/0.3642, allocations: 2.43 MB / 0.5916 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/0.3645, allocations: 254.8 kB / 0.5918 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000904/0.3654, allocations: 339.9 kB / 0.5921 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009361/0.3747, allocations: 4.666 MB / 0.5967 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.342e-05/0.3748, allocations: 4 kB / 0.5967 GB, free: 6.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003355/0.3751, allocations: 136 kB / 0.5968 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001905/0.3753, allocations: 158.7 kB / 0.597 GB, free: 5.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007269/0.3826, allocations: 3.809 MB / 0.6007 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02493/0.4075, allocations: 12.59 MB / 0.613 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005175/0.4127, allocations: 2.39 MB / 0.6153 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/0.4148, allocations: 1.099 MB / 0.6164 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006396/0.4212, allocations: 2.82 MB / 0.6191 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.538e-05/0.4213, allocations: 51.55 kB / 0.6192 GB, free: 14.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 4.228e-06/0.4213, allocations: 0 / 0.6192 GB, free: 14.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.01158/0.4329, allocations: 4.664 MB / 0.6238 GB, free: 10.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.4329, allocations: 68.41 kB / 0.6238 GB, free: 9.934 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003042/0.4359, allocations: 1.738 MB / 0.6255 GB, free: 8.191 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.4361, allocations: 45.7 kB / 0.6256 GB, free: 8.141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00133/0.4374, allocations: 1.547 MB / 0.6271 GB, free: 6.578 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004932/0.4379, allocations: 436.3 kB / 0.6275 GB, free: 6.148 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004792/0.4384, allocations: 295.4 kB / 0.6278 GB, free: 5.852 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4386, allocations: 305.1 kB / 0.6281 GB, free: 5.551 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.4397, allocations: 0.6246 MB / 0.6287 GB, free: 4.926 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.4414, allocations: 1.16 MB / 0.6298 GB, free: 3.535 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002974/0.4443, allocations: 1.876 MB / 0.6316 GB, free: 1.438 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.4444, allocations: 8 kB / 0.6316 GB, free: 1.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00419/0.4486, allocations: 2.123 MB / 0.6337 GB, free: 15.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.4486, allocations: 12 kB / 0.6337 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/0.4486, allocations: 16.38 kB / 0.6337 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004155/0.449, allocations: 138.5 kB / 0.6339 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.4506, allocations: 395.3 kB / 0.6342 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003457/0.454, allocations: 3.162 MB / 0.6373 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.4559, allocations: 76.08 kB / 0.6374 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.456, allocations: 71.98 kB / 0.6375 GB, free: 11.2 MB / 446.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003029/0.459, allocations: 1.044 MB / 0.6385 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004912/0.4595, allocations: 190.8 kB / 0.6387 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004036/0.4636, allocations: 1.88 MB / 0.6405 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.4636, allocations: 19.94 kB / 0.6405 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.4636, allocations: 8.125 kB / 0.6405 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.4636, allocations: 3.984 kB / 0.6405 GB, free: 8.016 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009124/0.4727, allocations: 4.359 MB / 0.6448 GB, free: 3.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.4727, allocations: 0 / 0.6448 GB, free: 3.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007441/0.4735, allocations: 172 kB / 0.645 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/0.4747, allocations: 439.8 kB / 0.6454 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.732e-05/0.4748, allocations: 39.97 kB / 0.6454 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/0.4861, allocations: 10.44 MB / 0.6556 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/0.4861, allocations: 4.031 kB / 0.6556 GB, free: 7.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004991/0.4911, allocations: 2.716 MB / 0.6583 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.4921, allocations: 338.6 kB / 0.6586 GB, free: 4.812 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.4923, allocations: 28.19 kB / 0.6586 GB, free: 4.785 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008097/0.4931, allocations: 55.95 kB / 0.6587 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/0.4934, allocations: 108.8 kB / 0.6588 GB, free: 4.621 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.444e-05/0.4935, allocations: 40.11 kB / 0.6588 GB, free: 4.582 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001914/0.4954, allocations: 1.167 MB / 0.66 GB, free: 3.422 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4954, allocations: 0 / 0.66 GB, free: 3.422 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002065/0.4975, allocations: 0.5546 MB / 0.6605 GB, free: 2.867 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.phi) * 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 (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,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.005325/0.5028, allocations: 3.327 MB / 0.6637 GB, free: 15.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003119/0.5059, allocations: 1.702 MB / 0.6654 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.5059, allocations: 0 / 0.6654 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002399/0.5083, allocations: 1.444 MB / 0.6668 GB, free: 12.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/0.511, allocations: 0.5326 MB / 0.6673 GB, free: 11.72 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03169/0.5427, allocations: 18.88 MB / 0.6858 GB, free: 8.145 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002161/0.5448, allocations: 1.812 MB / 0.6875 GB, free: 6.293 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001247/0.5461, allocations: 396.1 kB / 0.6879 GB, free: 5.902 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0016/0.5477, allocations: 1.151 MB / 0.689 GB, free: 4.75 MB / 494.1 MB Notification: Performance of SimCode: time 1.272e-06/0.5477, allocations: 0 / 0.689 GB, free: 4.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.295/0.8426, allocations: 55.14 MB / 0.7429 GB, free: 101 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.82, allocations: 3.438 kB / 0.7429 GB, free: 101 MB / 494.1 MB " [Timeout remaining time 646] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2_fmu --startTime=0 --stopTime=3.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.450820826925337] Failed to read output from testmodel.py, exit status != 0: 13.957300459034741 13.966196948 13.627480364 Calling exit ...