Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001359/0.001359, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 197 kB / 16.53 MB, free: 6.664 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.769/1.769, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001718/0.001718, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.365, allocations: 46.63 MB / 325.3 MB, free: 2.055 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003032/0.3681, allocations: 1.509 MB / 326.8 MB, free: 0.8555 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.3701, allocations: 0.887 MB / 327.7 MB, free: 184 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.3702, allocations: 0.9688 kB / 327.7 MB, free: 184 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.3704, allocations: 9.109 kB / 327.7 MB, free: 176 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 9.409e-05/0.3705, allocations: 20.08 kB / 327.7 MB, free: 160 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.3708, allocations: 64.03 kB / 327.8 MB, free: 104 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.3711, allocations: 142.3 kB / 327.9 MB, free: 24 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.3712, allocations: 17.22 kB / 327.9 MB, free: 16 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005937/0.3718, allocations: 381.7 kB / 328.3 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.372, allocations: 71.91 kB / 328.4 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.3721, allocations: 14.41 kB / 328.4 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.348e-05/0.3721, allocations: 9.875 kB / 328.4 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.3723, allocations: 62.05 kB / 328.5 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.3724, allocations: 112 kB / 328.6 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004358/0.3729, allocations: 358 kB / 328.9 MB, free: 15.43 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3729, allocations: 0 / 328.9 MB, free: 15.43 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3729, allocations: 0 / 328.9 MB, free: 15.43 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.3729, allocations: 1.031 kB / 328.9 MB, free: 15.43 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.00089/0.3738, allocations: 0.712 MB / 329.6 MB, free: 14.74 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.3739, allocations: 14.06 kB / 329.7 MB, free: 14.74 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.49e-05/0.374, allocations: 39.52 kB / 329.7 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.3744, allocations: 273 kB / 330 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.3744, allocations: 4.844 kB / 330 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.3744, allocations: 12.25 kB / 330 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.3748, allocations: 126.9 kB / 330.1 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3748, allocations: 3.984 kB / 330.1 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.3748, allocations: 8.469 kB / 330.1 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3748, allocations: 1.094 kB / 330.1 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.375, allocations: 59.44 kB / 330.2 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007302/0.3758, allocations: 471.4 kB / 330.6 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.376, allocations: 95.02 kB / 330.7 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.3762, allocations: 87.38 kB / 330.8 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.3762, allocations: 1.375 kB / 330.8 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004168/0.3766, allocations: 203.6 kB / 331 MB, free: 13.62 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.512e-06/0.3766, allocations: 0 / 331 MB, free: 13.62 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009014/0.3775, allocations: 466.9 kB / 331.5 MB, free: 13.33 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.3777, allocations: 168.8 kB / 331.6 MB, free: 13.14 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007161/0.3784, allocations: 0.513 MB / 332.1 MB, free: 12.8 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.3784, allocations: 34.91 kB / 332.2 MB, free: 12.76 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.3785, allocations: 100.9 kB / 332.3 MB, free: 12.66 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.3786, allocations: 34 kB / 332.3 MB, free: 12.64 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.3787, allocations: 77.42 kB / 332.4 MB, free: 12.59 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3788, allocations: 330.1 kB / 332.7 MB, free: 12.26 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.379, allocations: 58.22 kB / 332.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.3791, allocations: 76.89 kB / 332.8 MB, free: 12.19 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.3795, allocations: 344.8 kB / 333.2 MB, free: 11.83 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3795, allocations: 4 kB / 333.2 MB, free: 11.83 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005156/0.38, allocations: 384.3 kB / 333.6 MB, free: 11.42 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.821e-05/0.3801, allocations: 126.8 kB / 333.7 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3801, allocations: 0 / 333.7 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.3802, allocations: 4 kB / 333.7 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.188e-05/0.3802, allocations: 0 / 333.7 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3802, allocations: 0 / 333.7 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.3803, allocations: 15.89 kB / 333.7 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.3804, allocations: 40 kB / 333.7 MB, free: 11.21 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.0003624/0.3808, allocations: 366.3 kB / 334.1 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.3808, allocations: 35.62 kB / 334.1 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.381, allocations: 71.12 kB / 334.2 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.381, allocations: 0 / 334.2 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.381, allocations: 0 / 334.2 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.381, allocations: 0 / 334.2 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009728/0.382, allocations: 0.8056 MB / 335 MB, free: 9.824 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.382, allocations: 0 / 335 MB, free: 9.824 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-06/0.382, allocations: 8 kB / 335 MB, free: 9.816 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.382, allocations: 0 / 335 MB, free: 9.816 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.382, allocations: 12.17 kB / 335 MB, free: 9.805 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.3821, allocations: 4 kB / 335 MB, free: 9.801 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3821, allocations: 3.938 kB / 335 MB, free: 9.797 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006939/0.3828, allocations: 0.5291 MB / 335.6 MB, free: 9.227 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.3831, allocations: 248.4 kB / 335.8 MB, free: 8.965 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.353e-05/0.3832, allocations: 12 kB / 335.8 MB, free: 8.953 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.3833, allocations: 12 kB / 335.8 MB, free: 8.941 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.3835, allocations: 35.78 kB / 335.9 MB, free: 8.906 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.3835, allocations: 47.92 kB / 335.9 MB, free: 8.859 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005065/0.3841, allocations: 390.9 kB / 336.3 MB, free: 8.477 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3841, allocations: 0 / 336.3 MB, free: 8.477 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003013/0.3844, allocations: 40 kB / 336.3 MB, free: 8.438 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.0001918/0.3846, allocations: 119 kB / 336.5 MB, free: 8.312 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005732/0.3851, allocations: 437.5 kB / 336.9 MB, free: 7.836 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3852, allocations: 0 / 336.9 MB, free: 7.836 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.3855, allocations: 377.6 kB / 337.2 MB, free: 7.418 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006721/0.3862, allocations: 117.5 kB / 337.4 MB, free: 7.301 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.3874, allocations: 0.655 MB / 338 MB, free: 6.621 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.388, allocations: 0.8028 MB / 338.8 MB, free: 5.789 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.3881, allocations: 8.656 kB / 338.8 MB, free: 5.773 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.3881, allocations: 15.44 kB / 338.8 MB, free: 5.762 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3881, allocations: 4 kB / 338.8 MB, free: 5.758 MB / 270.1 MB Notification: Performance of Templates: time 0.009518/0.3977, allocations: 4.52 MB / 343.4 MB, free: 1.191 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1)