Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001543, allocations: 192.1 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.93/1.93, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 55.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4057, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003856/0.4096, allocations: 1.562 MB / 326.2 MB, free: 0.6992 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.412, allocations: 0.9218 MB / 327.2 MB, free: 4 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.416e-05/0.4121, allocations: 0 / 327.2 MB, free: 4 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.4123, allocations: 4.844 kB / 327.2 MB, free: 0 / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.4124, allocations: 16.27 kB / 327.2 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.4128, allocations: 48.2 kB / 327.2 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.413, allocations: 112.2 kB / 327.3 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.4131, allocations: 17.12 kB / 327.4 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005347/0.4137, allocations: 386.2 kB / 327.7 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.4138, allocations: 67.88 kB / 327.8 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.4139, allocations: 3.938 kB / 327.8 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.527e-05/0.4139, allocations: 4.25 kB / 327.8 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.4141, allocations: 70.09 kB / 327.9 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.4142, allocations: 107.8 kB / 328 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.4147, allocations: 348.2 kB / 328.3 MB, free: 15.31 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4147, allocations: 0 / 328.3 MB, free: 15.31 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4147, allocations: 1.312 kB / 328.3 MB, free: 15.31 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.4147, allocations: 0 / 328.3 MB, free: 15.31 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000996/0.4157, allocations: 0.7238 MB / 329 MB, free: 14.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.4158, allocations: 9.406 kB / 329.1 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.4159, allocations: 34.91 kB / 329.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.4163, allocations: 277.7 kB / 329.4 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.4163, allocations: 9.156 kB / 329.4 MB, free: 14.31 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.4164, allocations: 7.906 kB / 329.4 MB, free: 14.31 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.4168, allocations: 127.2 kB / 329.5 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4168, allocations: 0 / 329.5 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.4168, allocations: 7.406 kB / 329.5 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4169, allocations: 1.375 kB / 329.5 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.417, allocations: 60.62 kB / 329.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009126/0.4179, allocations: 461.9 kB / 330 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.4182, allocations: 103 kB / 330.1 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.4184, allocations: 80.11 kB / 330.2 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.4185, allocations: 5.125 kB / 330.2 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006565/0.4191, allocations: 204.2 kB / 330.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.4191, allocations: 0 / 330.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001106/0.4203, allocations: 478.2 kB / 330.9 MB, free: 13.2 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.4204, allocations: 164.8 kB / 331 MB, free: 13.01 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009473/0.4214, allocations: 0.5086 MB / 331.5 MB, free: 12.67 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-05/0.4214, allocations: 38.41 kB / 331.6 MB, free: 12.63 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.4216, allocations: 97.27 kB / 331.7 MB, free: 12.54 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.4216, allocations: 30.27 kB / 331.7 MB, free: 12.52 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/0.4218, allocations: 80.8 kB / 331.8 MB, free: 12.46 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.4221, allocations: 330.8 kB / 332.1 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.4222, allocations: 53.72 kB / 332.2 MB, free: 12.11 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.4224, allocations: 75.14 kB / 332.2 MB, free: 12.07 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/0.423, allocations: 340.2 kB / 332.6 MB, free: 11.74 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.423, allocations: 0 / 332.6 MB, free: 11.74 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008439/0.4238, allocations: 381.6 kB / 332.9 MB, free: 11.49 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.424, allocations: 134 kB / 333.1 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.424, allocations: 4 kB / 333.1 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.4241, allocations: 0 / 333.1 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.527e-05/0.4241, allocations: 0 / 333.1 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.4241, allocations: 0 / 333.1 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.4244, allocations: 19.89 kB / 333.1 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.025e-05/0.4245, allocations: 36 kB / 333.1 MB, free: 11.28 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005415/0.425, allocations: 374.2 kB / 333.5 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.4251, allocations: 39.62 kB / 333.5 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.4252, allocations: 63.16 kB / 333.6 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4252, allocations: 0 / 333.6 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.4253, allocations: 0 / 333.6 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.4253, allocations: 3.984 kB / 333.6 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.4266, allocations: 0.8172 MB / 334.4 MB, free: 9.871 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.4266, allocations: 112 / 334.4 MB, free: 9.871 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-06/0.4267, allocations: 3.938 kB / 334.4 MB, free: 9.867 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.4267, allocations: 0 / 334.4 MB, free: 9.867 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.4267, allocations: 8.188 kB / 334.4 MB, free: 9.859 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.4267, allocations: 12 kB / 334.4 MB, free: 9.848 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.4267, allocations: 7.922 kB / 334.4 MB, free: 9.84 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008075/0.4276, allocations: 0.5135 MB / 335 MB, free: 9.285 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003689/0.4279, allocations: 248.4 kB / 335.2 MB, free: 9.023 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.968e-05/0.428, allocations: 12 kB / 335.2 MB, free: 9.012 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.4282, allocations: 8 kB / 335.2 MB, free: 9.004 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.4284, allocations: 31.91 kB / 335.2 MB, free: 8.973 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/0.4285, allocations: 47.92 kB / 335.3 MB, free: 8.926 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005597/0.4291, allocations: 390.8 kB / 335.7 MB, free: 8.547 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4291, allocations: 0 / 335.7 MB, free: 8.547 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003369/0.4295, allocations: 48 kB / 335.7 MB, free: 8.5 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002717/0.4297, allocations: 111 kB / 335.8 MB, free: 8.383 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006417/0.4304, allocations: 441.5 kB / 336.3 MB, free: 7.902 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4304, allocations: 0 / 336.3 MB, free: 7.902 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004787/0.4309, allocations: 381.6 kB / 336.6 MB, free: 7.48 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007467/0.4316, allocations: 113.4 kB / 336.7 MB, free: 7.367 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.4333, allocations: 0.7569 MB / 337.5 MB, free: 6.586 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000731/0.434, allocations: 0.8031 MB / 338.3 MB, free: 5.758 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.266e-05/0.4341, allocations: 12.64 kB / 338.3 MB, free: 5.738 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.4341, allocations: 11.44 kB / 338.3 MB, free: 5.73 MB / 270.1 MB Notification: Performance of SimCode: time 1.754e-06/0.4342, allocations: 0 / 338.3 MB, free: 5.73 MB / 270.1 MB Notification: Performance of Templates: time 0.01024/0.4444, allocations: 4.235 MB / 342.6 MB, free: 1.449 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1)