Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.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.0009914/0.0009914, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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 0.9896/0.9896, allocations: 177.1 MB / 200 MB, free: 5.824 MB / 186.7 MB " [Timeout remaining time 179] 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.00124/0.00124, allocations: 156.7 kB / 256.6 MB, free: 13.13 MB / 250.7 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.02553/0.02553, allocations: 6.652 MB / 319.8 MB, free: 11.63 MB / 298.7 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: translateModel(HanserModelica.InductionMachines.IMC_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") translateModel(HanserModelica.InductionMachines.IMC_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 391.6 MB, free: 3.66 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.616e-05, allocations: 2.312 kB / 391.7 MB, free: 3.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01115/0.01118, allocations: 13.48 MB / 405.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00733/0.01851, allocations: 4.54 MB / 409.7 MB, free: 1.551 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.01976, allocations: 107.3 kB / 409.8 MB, free: 1.445 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.02149, allocations: 1.04 MB / 410.8 MB, free: 408 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.02368, allocations: 1.335 MB / 412.2 MB, free: 15.05 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.02487, allocations: 0.9194 MB / 413.1 MB, free: 14.13 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00318/0.02805, allocations: 4.281 MB / 417.4 MB, free: 9.836 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.02989, allocations: 1.898 MB / 419.3 MB, free: 7.867 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002899/0.03279, allocations: 2.944 MB / 422.2 MB, free: 4.918 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.03472, allocations: 1.992 MB / 424.2 MB, free: 2.922 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004942/0.03521, allocations: 0.5234 MB / 424.7 MB, free: 2.398 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009255/0.03614, allocations: 0.7339 MB / 425.4 MB, free: 1.664 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006436/0.03678, allocations: 1.196 MB / 426.6 MB, free: 476 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.03787, allocations: 1.505 MB / 428.1 MB, free: 14.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002981/0.04085, allocations: 3.559 MB / 431.7 MB, free: 11.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.04085, allocations: 4 kB / 431.7 MB, free: 11.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.04086, allocations: 0 / 431.7 MB, free: 11.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.732e-05/0.04088, allocations: 0 / 431.7 MB, free: 11.38 MB / 410.7 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.005678/0.04656, allocations: 4.711 MB / 436.4 MB, free: 6.609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.04661, allocations: 8.031 kB / 436.4 MB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002741/0.04935, allocations: 1.251 MB / 437.7 MB, free: 5.348 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/0.05176, allocations: 2.375 MB / 440.1 MB, free: 2.922 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.05189, allocations: 247.1 kB / 440.3 MB, free: 2.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/0.0522, allocations: 340.3 kB / 440.6 MB, free: 2.348 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1503/0.2025, allocations: 2.686 MB / 443.3 MB, free: 138.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-05/0.2026, allocations: 3.672 kB / 443.3 MB, free: 138.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002383/0.2029, allocations: 137.8 kB / 443.5 MB, free: 138.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001519/0.203, allocations: 157.8 kB / 443.6 MB, free: 138.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003344/0.2064, allocations: 1.257 MB / 444.9 MB, free: 138.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01292/0.2193, allocations: 11.34 MB / 456.2 MB, free: 134.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/0.2219, allocations: 1.831 MB / 458 MB, free: 134.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008772/0.2228, allocations: 0.6355 MB / 458.7 MB, free: 134.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002676/0.2255, allocations: 2.184 MB / 460.9 MB, free: 133 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.2255, allocations: 52.33 kB / 460.9 MB, free: 132.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=115): time 2.234e-06/0.2255, allocations: 0 / 460.9 MB, free: 132.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=118): time 0.004575/0.2301, allocations: 3.157 MB / 464.1 MB, free: 131.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.2301, allocations: 64.94 kB / 464.1 MB, free: 131.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.2313, allocations: 1.35 MB / 465.5 MB, free: 131.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/0.2314, allocations: 45.08 kB / 465.5 MB, free: 131 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006091/0.232, allocations: 1.634 MB / 467.2 MB, free: 130 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.2322, allocations: 443.1 kB / 467.6 MB, free: 129.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.2324, allocations: 316.7 kB / 467.9 MB, free: 129.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.79e-05/0.2325, allocations: 484.7 kB / 468.4 MB, free: 129 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.2329, allocations: 220.2 kB / 468.6 MB, free: 129 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005535/0.2334, allocations: 0.9815 MB / 469.6 MB, free: 128 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.2345, allocations: 1.303 MB / 470.9 MB, free: 126.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/0.2345, allocations: 5.406 kB / 470.9 MB, free: 126.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001604/0.2361, allocations: 1.369 MB / 472.2 MB, free: 126.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.2361, allocations: 12.09 kB / 472.3 MB, free: 126.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.2361, allocations: 15.19 kB / 472.3 MB, free: 126.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002204/0.2363, allocations: 111.7 kB / 472.4 MB, free: 126.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007314/0.2371, allocations: 388.5 kB / 472.8 MB, free: 126.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.2384, allocations: 3.929 MB / 476.7 MB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.239, allocations: 70.59 kB / 476.8 MB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/0.239, allocations: 69.31 kB / 476.8 MB, free: 122.5 MB / 410.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: 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.000516/0.2396, allocations: 265.7 kB / 477.1 MB, free: 122.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.2397, allocations: 203.6 kB / 477.3 MB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.2412, allocations: 1.179 MB / 478.5 MB, free: 121.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.2412, allocations: 13.59 kB / 478.5 MB, free: 121.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.2412, allocations: 10.84 kB / 478.5 MB, free: 121.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.2412, allocations: 9.5 kB / 478.5 MB, free: 121.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00374/0.245, allocations: 3.357 MB / 481.8 MB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.245, allocations: 0 / 481.8 MB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/0.2453, allocations: 159 kB / 482 MB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000763/0.2461, allocations: 396.5 kB / 482.4 MB, free: 117.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.2462, allocations: 39.97 kB / 482.4 MB, free: 117.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004109/0.2503, allocations: 11.45 MB / 493.9 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2503, allocations: 0 / 493.9 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.252, allocations: 1.606 MB / 495.5 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003447/0.2524, allocations: 294.8 kB / 495.8 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.2525, allocations: 31.98 kB / 495.8 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003597/0.2528, allocations: 51.97 kB / 495.9 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.253, allocations: 111.7 kB / 496 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.253, allocations: 35.98 kB / 496 MB, free: 103.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006394/0.2537, allocations: 0.7663 MB / 496.8 MB, free: 103 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2537, allocations: 0 / 496.8 MB, free: 103 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001259/0.2549, allocations: 0.543 MB / 497.3 MB, free: 102.4 MB / 410.7 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.0002139/0.2552, allocations: 160 kB / 497.5 MB, free: 102.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.2563, allocations: 1.201 MB / 498.7 MB, free: 101.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2563, allocations: 4.062 kB / 498.7 MB, free: 101.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009178/0.2572, allocations: 1.47 MB / 0.4884 GB, free: 99.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.2582, allocations: 461.4 kB / 0.4889 GB, free: 99.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005292/0.2635, allocations: 5.002 MB / 0.4937 GB, free: 94.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.264, allocations: 0.8106 MB / 0.4945 GB, free: 93.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005658/0.2646, allocations: 318.6 kB / 0.4948 GB, free: 92.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.2648, allocations: 120.5 kB / 0.495 GB, free: 92.8 MB / 410.7 MB Notification: Performance of SimCode: time 3.8e-07/0.2648, allocations: 0 / 0.495 GB, free: 92.8 MB / 410.7 MB Notification: Performance of Templates: time 0.03018/0.2949, allocations: 25.56 MB / 0.5199 GB, free: 67.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6693958709947765]