Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001349/0.001349, allocations: 93.55 kB / 16.3 MB, free: 5.996 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.001582/0.001582, allocations: 184.7 kB / 17.2 MB, free: 5.91 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.462/1.462, allocations: 205.4 MB / 223.4 MB, free: 5.371 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.0004946/0.0004948, allocations: 16 kB / 280.1 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2624, allocations: 47.59 MB / 327.7 MB, free: 1.457 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.003459/0.2659, allocations: 3.172 MB / 330.9 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.268, allocations: 1.299 MB / 332.2 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.2683, allocations: 10.69 kB / 332.2 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007171/0.269, allocations: 204.9 kB / 332.4 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.2695, allocations: 278.7 kB / 332.7 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.2701, allocations: 210.3 kB / 332.9 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005364/0.2706, allocations: 475.1 kB / 333.3 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.2709, allocations: 129.3 kB / 333.5 MB, free: 13.08 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.2712, allocations: 232.2 kB / 333.7 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.2715, allocations: 260.5 kB / 333.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.767e-05/0.2716, allocations: 25.03 kB / 334 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.2717, allocations: 62.12 kB / 334 MB, free: 12.78 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.2719, allocations: 113.4 kB / 334.1 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.272, allocations: 124.2 kB / 334.3 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005443/0.2726, allocations: 0.5038 MB / 334.8 MB, free: 12.25 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2726, allocations: 0 / 334.8 MB, free: 12.25 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.2726, allocations: 0 / 334.8 MB, free: 12.25 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.2726, allocations: 0 / 334.8 MB, free: 12.25 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.001618/0.2742, allocations: 0.8534 MB / 335.6 MB, free: 11.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.2743, allocations: 8.031 kB / 335.6 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.2744, allocations: 71.23 kB / 335.7 MB, free: 11.43 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005486/0.275, allocations: 405.7 kB / 336.1 MB, free: 10.99 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.275, allocations: 29 kB / 336.1 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.747e-05/0.2751, allocations: 36 kB / 336.1 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007173/0.2758, allocations: 441.5 kB / 336.6 MB, free: 10.47 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2758, allocations: 0 / 336.6 MB, free: 10.47 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.2759, allocations: 16 kB / 336.6 MB, free: 10.46 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.2759, allocations: 8 kB / 336.6 MB, free: 10.45 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006242/0.2765, allocations: 319.8 kB / 336.9 MB, free: 10.14 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.2788, allocations: 1.718 MB / 338.6 MB, free: 8.324 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006202/0.2794, allocations: 367.1 kB / 339 MB, free: 7.957 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.2795, allocations: 4 kB / 339 MB, free: 7.953 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004082/0.2799, allocations: 263 kB / 339.2 MB, free: 7.668 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 1.503e-06/0.2799, allocations: 0 / 339.2 MB, free: 7.668 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.002036/0.282, allocations: 1.01 MB / 340.3 MB, free: 6.566 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/0.2821, allocations: 195.8 kB / 340.5 MB, free: 6.332 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005427/0.2826, allocations: 0.4901 MB / 340.9 MB, free: 5.824 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.2827, allocations: 37.7 kB / 341 MB, free: 5.781 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.2829, allocations: 256.4 kB / 341.2 MB, free: 5.527 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.965e-05/0.283, allocations: 122.3 kB / 341.3 MB, free: 5.406 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/0.283, allocations: 8 kB / 341.4 MB, free: 5.398 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.2831, allocations: 358.7 kB / 341.7 MB, free: 5.039 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.2834, allocations: 124.8 kB / 341.8 MB, free: 4.914 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.2837, allocations: 221.2 kB / 342 MB, free: 4.668 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.2839, allocations: 121.9 kB / 342.2 MB, free: 4.551 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.284, allocations: 0 / 342.2 MB, free: 4.551 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007575/0.2847, allocations: 488.6 kB / 342.6 MB, free: 4.055 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2847, allocations: 4 kB / 342.6 MB, free: 4.051 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2848, allocations: 4 kB / 342.6 MB, free: 4.047 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/0.2853, allocations: 151.4 kB / 342.8 MB, free: 3.887 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.2855, allocations: 51.91 kB / 342.8 MB, free: 3.836 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004874/0.2904, allocations: 5.982 MB / 348.8 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.2908, allocations: 63.81 kB / 348.9 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.2909, allocations: 16 kB / 348.9 MB, free: 13.25 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.0002656/0.2911, allocations: 192 kB / 349.1 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.396e-05/0.2912, allocations: 59.33 kB / 349.2 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.2913, allocations: 56.77 kB / 349.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2913, allocations: 4 kB / 349.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.2913, allocations: 3.953 kB / 349.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.2914, allocations: 3.984 kB / 349.2 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005116/0.2919, allocations: 489.1 kB / 349.7 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2919, allocations: 0 / 349.7 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.292, allocations: 27.97 kB / 349.7 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004048/0.2924, allocations: 163.6 kB / 349.9 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.2925, allocations: 15.97 kB / 349.9 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004376/0.2969, allocations: 5.828 MB / 355.7 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2969, allocations: 0 / 355.7 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008927/0.2978, allocations: 0.5077 MB / 356.2 MB, free: 5.273 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.298, allocations: 160.3 kB / 356.4 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/0.2981, allocations: 12 kB / 356.4 MB, free: 5.086 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.2984, allocations: 39.97 kB / 356.4 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.2985, allocations: 55.86 kB / 356.5 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.2985, allocations: 12 kB / 356.5 MB, free: 4.98 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003937/0.2989, allocations: 359.1 kB / 356.9 MB, free: 4.633 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2989, allocations: 0 / 356.9 MB, free: 4.633 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007605/0.2997, allocations: 175.7 kB / 357 MB, free: 4.461 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.3007, allocations: 429.6 kB / 357.4 MB, free: 4.039 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.3018, allocations: 0.7992 MB / 358.2 MB, free: 3.188 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3018, allocations: 0 / 358.2 MB, free: 3.188 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000672/0.3025, allocations: 0.6588 MB / 358.9 MB, free: 2.477 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.303, allocations: 105.8 kB / 359 MB, free: 2.375 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.3049, allocations: 1.116 MB / 360.1 MB, free: 1.234 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.3053, allocations: 0.8825 MB / 361 MB, free: 336 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.3055, allocations: 52.16 kB / 361.1 MB, free: 280 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.3056, allocations: 27.44 kB / 361.1 MB, free: 252 kB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3056, allocations: 0 / 361.1 MB, free: 252 kB / 286.1 MB Notification: Performance of Templates: time 0.01452/0.3202, allocations: 8.401 MB / 369.5 MB, free: 7.832 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) Environment - environmentSimulation: