Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006037/0.006037, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001159/0.001159, allocations: 195 kB / 16.67 MB, free: 5.93 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.557/1.557, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.001183/0.001183, allocations: 46.72 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1105, allocations: 46.62 MB / 373.2 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004061/0.1146, allocations: 2.462 MB / 375.6 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1158, allocations: 0.667 MB / 376.3 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.1159, allocations: 7.938 kB / 376.3 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.1161, allocations: 35.64 kB / 376.3 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.1163, allocations: 75.39 kB / 376.4 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.1166, allocations: 79.78 kB / 376.5 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.1169, allocations: 278.6 kB / 376.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.1172, allocations: 96.27 kB / 376.9 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.1173, allocations: 103.6 kB / 377 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.1175, allocations: 119.5 kB / 377.1 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.1176, allocations: 20 kB / 377.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-05/0.1177, allocations: 39.98 kB / 377.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.1177, allocations: 51.77 kB / 377.2 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.1178, allocations: 115.5 kB / 377.3 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.1182, allocations: 279 kB / 377.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1182, allocations: 0 / 377.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1182, allocations: 4 kB / 377.6 MB, free: 12.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1182, allocations: 0 / 377.6 MB, free: 12.98 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009305/0.1191, allocations: 0.5224 MB / 378.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1192, allocations: 8.031 kB / 378.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.426e-05/0.1193, allocations: 28.64 kB / 378.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.1196, allocations: 240.6 kB / 378.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.1196, allocations: 24.75 kB / 378.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-05/0.1197, allocations: 28.31 kB / 378.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.1201, allocations: 187.2 kB / 378.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1201, allocations: 0 / 378.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.1202, allocations: 8 kB / 378.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.1202, allocations: 4 kB / 378.6 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.1205, allocations: 149.7 kB / 378.8 MB, free: 11.71 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.1218, allocations: 0.9295 MB / 379.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.1222, allocations: 154.6 kB / 379.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.1224, allocations: 97.91 kB / 379.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.1224, allocations: 7.984 kB / 379.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.1224, allocations: 34.56 kB / 380 MB, free: 10.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.1225, allocations: 0 / 380 MB, free: 10.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001238/0.1237, allocations: 411.9 kB / 380.4 MB, free: 9.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.1238, allocations: 59.31 kB / 380.4 MB, free: 9.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.1239, allocations: 170.4 kB / 380.6 MB, free: 9.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.124, allocations: 33.7 kB / 380.6 MB, free: 9.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.124, allocations: 136.2 kB / 380.8 MB, free: 9.504 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.1241, allocations: 59.11 kB / 380.8 MB, free: 9.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.918e-05/0.1242, allocations: 37.7 kB / 380.9 MB, free: 9.402 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1243, allocations: 342.7 kB / 381.2 MB, free: 9.059 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.1244, allocations: 47.92 kB / 381.2 MB, free: 9.012 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1245, allocations: 69.69 kB / 381.3 MB, free: 8.938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.1248, allocations: 129.6 kB / 381.4 MB, free: 8.805 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1248, allocations: 0 / 381.4 MB, free: 8.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004521/0.1253, allocations: 222.2 kB / 381.7 MB, free: 8.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1253, allocations: 12 kB / 381.7 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1253, allocations: 3.984 kB / 381.7 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.1266, allocations: 220.6 kB / 381.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.1268, allocations: 35.92 kB / 381.9 MB, free: 8.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005092/0.1273, allocations: 0.6031 MB / 382.5 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.1274, allocations: 15.84 kB / 382.5 MB, free: 7.664 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.1274, allocations: 7.984 kB / 382.6 MB, free: 7.656 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.1276, allocations: 133.7 kB / 382.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.1276, allocations: 19.88 kB / 382.7 MB, free: 7.496 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004414/0.1281, allocations: 224.2 kB / 382.9 MB, free: 7.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1281, allocations: 4 kB / 382.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1281, allocations: 3.938 kB / 382.9 MB, free: 7.262 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1281, allocations: 3.984 kB / 382.9 MB, free: 7.258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008429/0.1289, allocations: 0.5974 MB / 383.5 MB, free: 6.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.129, allocations: 0 / 383.5 MB, free: 6.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.1291, allocations: 23.98 kB / 383.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.1301, allocations: 204.6 kB / 383.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.1302, allocations: 4 kB / 383.8 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004573/0.1306, allocations: 0.6264 MB / 384.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.1307, allocations: 0 / 384.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000797/0.1315, allocations: 424.8 kB / 384.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.446e-05/0.1315, allocations: 96.94 kB / 384.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1316, allocations: 4 kB / 384.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1317, allocations: 8 kB / 384.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.1318, allocations: 7.984 kB / 384.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.1318, allocations: 11.98 kB / 384.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.1319, allocations: 132.2 kB / 385.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.623e-06/0.1319, allocations: 0 / 385.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002932/0.1322, allocations: 67.75 kB / 385.1 MB, free: 4.938 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001695/0.1324, allocations: 115.2 kB / 385.2 MB, free: 4.812 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003994/0.1328, allocations: 144.4 kB / 385.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1328, allocations: 4 kB / 385.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.133, allocations: 87.83 kB / 385.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.1333, allocations: 36.16 kB / 385.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000987/0.1343, allocations: 0.5481 MB / 386 MB, free: 3.969 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.1346, allocations: 0.7321 MB / 386.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.616e-05/0.1347, allocations: 17.55 kB / 386.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.1347, allocations: 11.44 kB / 386.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1348, allocations: 4 kB / 386.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of Templates: time 0.006161/0.1409, allocations: 2.571 MB / 389.4 MB, free: 0.6094 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1)