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.001664/0.001664, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.002553/0.002553, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.994/1.994, allocations: 205.4 MB / 222.1 MB, free: 5.547 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.0005087/0.000509, allocations: 14.66 kB / 278.9 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3485, allocations: 47.59 MB / 326.4 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.00182/0.3504, allocations: 1.201 MB / 327.6 MB, free: 476 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.3523, allocations: 0.848 MB / 328.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.697e-05/0.3523, allocations: 0 / 328.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.126e-05/0.3524, allocations: 5.094 kB / 328.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.3525, allocations: 15.94 kB / 328.5 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.3528, allocations: 43.86 kB / 328.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.353, allocations: 75.19 kB / 328.6 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.3531, allocations: 16.39 kB / 328.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005167/0.3536, allocations: 288.9 kB / 328.9 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.3538, allocations: 69.59 kB / 329 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/0.3539, allocations: 3.375 kB / 329 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.607e-05/0.3539, allocations: 4.5 kB / 329 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.571e-05/0.354, allocations: 63.98 kB / 329.1 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.228e-05/0.3541, allocations: 77.2 kB / 329.1 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.3544, allocations: 277.6 kB / 329.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3544, allocations: 0 / 329.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3544, allocations: 0 / 329.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3544, allocations: 0 / 329.4 MB, free: 15.29 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.0008157/0.3553, allocations: 0.6698 MB / 330.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.3553, allocations: 8.75 kB / 330.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.673e-05/0.3554, allocations: 34.34 kB / 330.1 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.3558, allocations: 264.9 kB / 330.4 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.3558, allocations: 8.719 kB / 330.4 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.3558, allocations: 7.031 kB / 330.4 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.3561, allocations: 123.2 kB / 330.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3562, allocations: 0 / 330.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.3562, allocations: 12.45 kB / 330.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.3562, allocations: 7.922 kB / 330.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.3564, allocations: 56.88 kB / 330.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007529/0.3571, allocations: 464.3 kB / 331 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.3573, allocations: 94.2 kB / 331.1 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.3574, allocations: 1 kB / 331.1 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003662/0.3577, allocations: 203.4 kB / 331.3 MB, free: 13.57 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.3577, allocations: 0 / 331.3 MB, free: 13.57 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001104/0.3589, allocations: 0.6266 MB / 332 MB, free: 13.08 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001709/0.359, allocations: 164.7 kB / 332.1 MB, free: 12.89 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007836/0.3598, allocations: 0.5176 MB / 332.6 MB, free: 12.54 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/0.3599, allocations: 30.64 kB / 332.7 MB, free: 12.51 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.36, allocations: 96.11 kB / 332.8 MB, free: 12.41 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.36, allocations: 27.61 kB / 332.8 MB, free: 12.39 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.77e-05/0.36, allocations: 6.781 kB / 332.8 MB, free: 12.39 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3602, allocations: 325.7 kB / 333.1 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.3603, allocations: 58.41 kB / 333.2 MB, free: 12.04 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.3604, allocations: 75.19 kB / 333.2 MB, free: 11.99 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.3606, allocations: 170.4 kB / 333.4 MB, free: 11.83 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3607, allocations: 0 / 333.4 MB, free: 11.83 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005676/0.3612, allocations: 372.3 kB / 333.8 MB, free: 11.59 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.796e-05/0.3613, allocations: 122.5 kB / 333.9 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3614, allocations: 3.984 kB / 333.9 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3614, allocations: 1.25 kB / 333.9 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.73e-05/0.3614, allocations: 4.906 kB / 333.9 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3614, allocations: 5.156 kB / 333.9 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.3616, allocations: 15.19 kB / 333.9 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-05/0.3617, allocations: 42.06 kB / 334 MB, free: 11.44 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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003848/0.3621, allocations: 365.4 kB / 334.3 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.3622, allocations: 38.62 kB / 334.4 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.3623, allocations: 68.02 kB / 334.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3623, allocations: 1.031 kB / 334.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3623, allocations: 4 kB / 334.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3623, allocations: 1.031 kB / 334.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009744/0.3633, allocations: 0.8119 MB / 335.2 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3633, allocations: 0 / 335.2 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-06/0.3633, allocations: 0 / 335.2 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3633, allocations: 0 / 335.2 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.3634, allocations: 15.98 kB / 335.3 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3634, allocations: 4 kB / 335.3 MB, free: 10.13 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3634, allocations: 0 / 335.3 MB, free: 10.13 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.364, allocations: 0.5251 MB / 335.8 MB, free: 9.566 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/0.3643, allocations: 244.5 kB / 336 MB, free: 9.309 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.3644, allocations: 15.94 kB / 336 MB, free: 9.293 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.3646, allocations: 15.98 kB / 336.1 MB, free: 9.277 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.3647, allocations: 19.97 kB / 336.1 MB, free: 9.258 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.724e-05/0.3648, allocations: 52.17 kB / 336.1 MB, free: 9.207 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005301/0.3653, allocations: 386.9 kB / 336.5 MB, free: 8.832 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3653, allocations: 7.938 kB / 336.5 MB, free: 8.824 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.3656, allocations: 43.91 kB / 336.6 MB, free: 8.781 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001693/0.3658, allocations: 127 kB / 336.7 MB, free: 8.648 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005116/0.3663, allocations: 433.5 kB / 337.1 MB, free: 8.176 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3663, allocations: 0 / 337.1 MB, free: 8.176 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.3667, allocations: 377.5 kB / 337.5 MB, free: 7.758 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005288/0.3672, allocations: 105.5 kB / 337.6 MB, free: 7.652 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.3684, allocations: 0.7387 MB / 338.3 MB, free: 6.891 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.3689, allocations: 0.8063 MB / 339.1 MB, free: 6.059 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.532e-05/0.369, allocations: 8.656 kB / 339.1 MB, free: 6.043 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.369, allocations: 11.44 kB / 339.1 MB, free: 6.035 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.369, allocations: 0 / 339.1 MB, free: 6.035 MB / 270.1 MB Notification: Performance of Templates: time 0.007746/0.3768, allocations: 3.891 MB / 343 MB, free: 2.098 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: