Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.009287/0.009287, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001567/0.001567, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.546/1.546, allocations: 205.1 MB / 222.6 MB, free: 4.391 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.001386/0.001387, allocations: 50.3 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1102, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004913/0.1151, allocations: 2.455 MB / 375.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.1169, allocations: 0.6708 MB / 376.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002891/0.1172, allocations: 4 kB / 376.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.1175, allocations: 35.66 kB / 376.3 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.1178, allocations: 71.33 kB / 376.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.1182, allocations: 75.83 kB / 376.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005451/0.1188, allocations: 286.6 kB / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.1191, allocations: 88.27 kB / 376.8 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.1194, allocations: 107.6 kB / 377 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.1197, allocations: 119.5 kB / 377.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.1197, allocations: 24 kB / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.1199, allocations: 35.98 kB / 377.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.1199, allocations: 51.78 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002641/0.1202, allocations: 115.5 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004319/0.1206, allocations: 279 kB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1206, allocations: 0 / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.813e-06/0.1207, allocations: 7.938 kB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.1207, allocations: 0 / 377.6 MB, free: 12.88 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.001083/0.1218, allocations: 0.5224 MB / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1218, allocations: 15.97 kB / 378.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.751e-05/0.1219, allocations: 24.66 kB / 378.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.1224, allocations: 236.6 kB / 378.4 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1224, allocations: 16.81 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.1225, allocations: 16.38 kB / 378.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.1229, allocations: 203.2 kB / 378.6 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1229, allocations: 0 / 378.6 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.1229, allocations: 4 kB / 378.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.1229, allocations: 8 kB / 378.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.1233, allocations: 153.7 kB / 378.8 MB, free: 11.6 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.001888/0.1252, allocations: 0.9333 MB / 379.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.1255, allocations: 154.6 kB / 379.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.1258, allocations: 92.83 kB / 379.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.1258, allocations: 11.98 kB / 379.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.1259, allocations: 34.5 kB / 380 MB, free: 10.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.895e-06/0.1259, allocations: 0 / 380 MB, free: 10.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001414/0.1273, allocations: 419.8 kB / 380.4 MB, free: 9.809 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.1274, allocations: 59.31 kB / 380.4 MB, free: 9.738 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1275, allocations: 170.4 kB / 380.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.1276, allocations: 25.7 kB / 380.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1277, allocations: 144.2 kB / 380.8 MB, free: 9.383 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.1278, allocations: 63.09 kB / 380.8 MB, free: 9.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-05/0.1278, allocations: 41.64 kB / 380.9 MB, free: 9.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.128, allocations: 326.8 kB / 381.2 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.1281, allocations: 51.97 kB / 381.2 MB, free: 8.895 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1283, allocations: 73.69 kB / 381.3 MB, free: 8.816 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.1285, allocations: 129.6 kB / 381.4 MB, free: 8.684 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1285, allocations: 0 / 381.4 MB, free: 8.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004265/0.129, allocations: 214.2 kB / 381.7 MB, free: 8.465 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.129, allocations: 15.92 kB / 381.7 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.129, allocations: 0 / 381.7 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/0.1304, allocations: 212.6 kB / 381.9 MB, free: 8.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.1306, allocations: 27.98 kB / 381.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005593/0.1312, allocations: 0.6224 MB / 382.5 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.1313, allocations: 19.94 kB / 382.5 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.1313, allocations: 8 kB / 382.6 MB, free: 7.535 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.0001431/0.1315, allocations: 129.8 kB / 382.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.1315, allocations: 15.81 kB / 382.7 MB, free: 7.383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005372/0.1321, allocations: 228.2 kB / 382.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1321, allocations: 4 kB / 382.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1321, allocations: 4 kB / 382.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1321, allocations: 0 / 382.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000902/0.133, allocations: 0.5896 MB / 383.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.133, allocations: 0 / 383.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.1332, allocations: 31.92 kB / 383.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.1343, allocations: 200.7 kB / 383.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.1343, allocations: 8 kB / 383.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005425/0.1349, allocations: 0.6264 MB / 384.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1349, allocations: 0 / 384.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008477/0.1357, allocations: 424.8 kB / 384.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.1358, allocations: 92.95 kB / 384.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.1359, allocations: 4 kB / 384.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.136, allocations: 15.98 kB / 384.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.1361, allocations: 12.05 kB / 384.9 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.1361, allocations: 7.938 kB / 384.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1362, allocations: 140.2 kB / 385.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1363, allocations: 0 / 385.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003371/0.1366, allocations: 63.75 kB / 385.1 MB, free: 4.816 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.0002134/0.1368, allocations: 107.2 kB / 385.2 MB, free: 4.699 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000469/0.1373, allocations: 148.4 kB / 385.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1373, allocations: 0 / 385.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.1375, allocations: 91.83 kB / 385.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1379, allocations: 28.3 kB / 385.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.139, allocations: 0.5444 MB / 386 MB, free: 3.863 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.1394, allocations: 0.7361 MB / 386.8 MB, free: 3.102 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.361e-05/0.1395, allocations: 13.55 kB / 386.8 MB, free: 3.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.1395, allocations: 15.44 kB / 386.8 MB, free: 3.078 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1395, allocations: 0 / 386.8 MB, free: 3.078 MB / 318.1 MB Notification: Performance of Templates: time 0.007125/0.1466, allocations: 2.657 MB / 389.5 MB, free: 428 kB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1)