Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001335/0.001335, allocations: 172.7 kB / 15.95 MB, free: 208 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.654/1.654, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.0004716/0.0004717, allocations: 12 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2651, allocations: 47.58 MB / 326.5 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004188/0.2693, allocations: 3.395 MB / 329.9 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002878/0.2722, allocations: 1.276 MB / 331.1 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000418/0.2727, allocations: 10.28 kB / 331.1 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008825/0.2736, allocations: 222.5 kB / 331.4 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000595/0.2742, allocations: 221.7 kB / 331.6 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006521/0.2748, allocations: 205.8 kB / 331.8 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008332/0.2757, allocations: 0.6406 MB / 332.4 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.276, allocations: 141.8 kB / 332.6 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.2764, allocations: 235 kB / 332.8 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.2768, allocations: 260 kB / 333 MB, free: 12.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.314e-05/0.2768, allocations: 24.78 kB / 333.1 MB, free: 12.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.2771, allocations: 69.78 kB / 333.1 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.2773, allocations: 109.5 kB / 333.2 MB, free: 12.42 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.2774, allocations: 128 kB / 333.4 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005898/0.278, allocations: 0.5017 MB / 333.9 MB, free: 11.97 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.278, allocations: 0 / 333.9 MB, free: 11.97 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.278, allocations: 3.938 kB / 333.9 MB, free: 11.97 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.2781, allocations: 1.031 kB / 333.9 MB, free: 11.97 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001795/0.2799, allocations: 0.8583 MB / 334.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.2799, allocations: 8.031 kB / 334.7 MB, free: 11.1 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.2801, allocations: 71.19 kB / 334.8 MB, free: 11.03 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006766/0.2808, allocations: 397.8 kB / 335.2 MB, free: 10.6 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/0.2808, allocations: 29 kB / 335.2 MB, free: 10.57 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.471e-05/0.2809, allocations: 36 kB / 335.3 MB, free: 10.54 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008201/0.2817, allocations: 441.5 kB / 335.7 MB, free: 10.09 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.2817, allocations: 3.938 kB / 335.7 MB, free: 10.08 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.2818, allocations: 16 kB / 335.7 MB, free: 10.07 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.2818, allocations: 12 kB / 335.7 MB, free: 10.05 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006096/0.2824, allocations: 315.8 kB / 336 MB, free: 9.746 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.2848, allocations: 1.714 MB / 337.7 MB, free: 7.938 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.2856, allocations: 363.1 kB / 338.1 MB, free: 7.574 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.2859, allocations: 188.5 kB / 338.3 MB, free: 7.387 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.764e-05/0.2859, allocations: 7.938 kB / 338.3 MB, free: 7.379 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004336/0.2864, allocations: 266.4 kB / 338.6 MB, free: 7.09 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 2.205e-06/0.2864, allocations: 0 / 338.6 MB, free: 7.09 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.002096/0.2885, allocations: 1.025 MB / 339.6 MB, free: 5.973 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.2886, allocations: 187.9 kB / 339.8 MB, free: 5.746 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/0.2892, allocations: 497.8 kB / 340.3 MB, free: 5.242 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.2893, allocations: 37.7 kB / 340.3 MB, free: 5.199 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.2895, allocations: 248.4 kB / 340.5 MB, free: 4.953 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.2896, allocations: 126.3 kB / 340.7 MB, free: 4.828 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.2896, allocations: 12 kB / 340.7 MB, free: 4.816 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2898, allocations: 366.7 kB / 341 MB, free: 4.449 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.29, allocations: 116.8 kB / 341.1 MB, free: 4.332 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.2903, allocations: 217.2 kB / 341.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.2906, allocations: 129.8 kB / 341.5 MB, free: 3.965 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2906, allocations: 0 / 341.5 MB, free: 3.965 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007984/0.2914, allocations: 488.7 kB / 342 MB, free: 3.469 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2915, allocations: 4 kB / 342 MB, free: 3.465 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2915, allocations: 0 / 342 MB, free: 3.465 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004952/0.292, allocations: 163.4 kB / 342.1 MB, free: 3.293 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.2922, allocations: 47.91 kB / 342.2 MB, free: 3.246 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004941/0.2971, allocations: 5.946 MB / 348.1 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/0.2976, allocations: 67.72 kB / 348.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.2977, allocations: 12 kB / 348.2 MB, free: 12.69 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003374/0.298, allocations: 192 kB / 348.4 MB, free: 12.49 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.873e-05/0.2981, allocations: 51.34 kB / 348.4 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.2982, allocations: 64.69 kB / 348.5 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2983, allocations: 4 kB / 348.5 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2983, allocations: 3.953 kB / 348.5 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2983, allocations: 4 kB / 348.5 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005464/0.2988, allocations: 497.1 kB / 349 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2988, allocations: 4 kB / 349 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.299, allocations: 23.98 kB / 349 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004342/0.2994, allocations: 163.3 kB / 349.2 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.2995, allocations: 4 kB / 349.2 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004147/0.3036, allocations: 5.788 MB / 355 MB, free: 5.301 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3036, allocations: 0 / 355 MB, free: 5.301 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009507/0.3046, allocations: 0.5086 MB / 355.5 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.3048, allocations: 160.3 kB / 355.6 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.975e-05/0.3049, allocations: 8 kB / 355.6 MB, free: 4.578 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.3051, allocations: 39.97 kB / 355.7 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.3053, allocations: 63.98 kB / 355.7 MB, free: 4.477 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.3053, allocations: 16 kB / 355.8 MB, free: 4.461 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004141/0.3057, allocations: 355.1 kB / 356.1 MB, free: 4.117 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3057, allocations: 3.938 kB / 356.1 MB, free: 4.113 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007942/0.3065, allocations: 167.7 kB / 356.3 MB, free: 3.949 MB / 286.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: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009879/0.3075, allocations: 429.5 kB / 356.7 MB, free: 3.527 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.3087, allocations: 0.7952 MB / 357.5 MB, free: 2.68 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.3087, allocations: 4 kB / 357.5 MB, free: 2.676 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000727/0.3095, allocations: 0.6588 MB / 358.1 MB, free: 1.965 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006168/0.3101, allocations: 105.8 kB / 358.2 MB, free: 1.863 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.3122, allocations: 1.13 MB / 359.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.3127, allocations: 0.867 MB / 360.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002141/0.3129, allocations: 52.16 kB / 360.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.313, allocations: 31.42 kB / 360.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.313, allocations: 0 / 360.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of Templates: time 0.01482/0.3278, allocations: 8.397 MB / 368.7 MB, free: 7.32 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1)