Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") Notification: Performance of loadModel(Modelica): time 1.795/1.795, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003459, allocations: 12 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07831/0.07868, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.006121/0.08485, allocations: 3.756 MB / 276.4 MB, free: 7.762 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003344/0.08825, allocations: 1.3 MB / 277.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005101/0.08882, allocations: 11.94 kB / 277.7 MB, free: 6.449 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.08903, allocations: 75.38 kB / 277.8 MB, free: 6.375 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000755/0.08979, allocations: 251.2 kB / 278 MB, free: 6.129 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.09083, allocations: 271.5 kB / 278.3 MB, free: 5.863 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002195/0.09305, allocations: 0.7462 MB / 279 MB, free: 5.113 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008297/0.09393, allocations: 199.6 kB / 279.2 MB, free: 4.906 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.09542, allocations: 434.6 kB / 279.6 MB, free: 4.48 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.09733, allocations: 0.5099 MB / 280.2 MB, free: 3.969 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004398/0.09782, allocations: 56 kB / 280.2 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005321/0.09837, allocations: 60 kB / 280.3 MB, free: 3.855 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004053/0.0988, allocations: 179.3 kB / 280.4 MB, free: 3.68 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004467/0.09929, allocations: 161.3 kB / 280.6 MB, free: 3.516 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.1012, allocations: 0.8105 MB / 281.4 MB, free: 2.703 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1012, allocations: 0 / 281.4 MB, free: 2.703 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1012, allocations: 0 / 281.4 MB, free: 2.703 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.46e-05/0.1013, allocations: 0 / 281.4 MB, free: 2.703 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.006598/0.1079, allocations: 1.332 MB / 282.7 MB, free: 1.305 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1079, allocations: 12.03 kB / 282.8 MB, free: 1.293 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/0.1083, allocations: 90.97 kB / 282.8 MB, free: 1.203 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009437/0.1092, allocations: 460.5 kB / 283.3 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-05/0.1093, allocations: 53.27 kB / 283.3 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.1095, allocations: 63.98 kB / 283.4 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003639/0.1132, allocations: 0.8574 MB / 284.3 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.1132, allocations: 3.938 kB / 284.3 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.1134, allocations: 28 kB / 284.3 MB, free: 15.7 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.1134, allocations: 16 kB / 284.3 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00558/0.119, allocations: 1.102 MB / 285.4 MB, free: 14.58 MB / 250.7 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.006964/0.126, allocations: 2.543 MB / 288 MB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00401/0.13, allocations: 0.8686 MB / 288.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.62e-05/0.1301, allocations: 20.41 kB / 288.8 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002707/0.1329, allocations: 0.6223 MB / 289.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 3.647e-06/0.1329, allocations: 0 / 289.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=94): time 0.3364/0.4693, allocations: 16.47 MB / 305.9 MB, free: 30.86 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.4694, allocations: 140.9 kB / 306.1 MB, free: 30.7 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008243/0.4702, allocations: 0.5038 MB / 306.6 MB, free: 30.46 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002464/0.4705, allocations: 52.89 kB / 306.6 MB, free: 30.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.4708, allocations: 371.8 kB / 307 MB, free: 30.11 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003918/0.4712, allocations: 319.6 kB / 307.3 MB, free: 29.87 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.4713, allocations: 20.62 kB / 307.3 MB, free: 29.85 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4715, allocations: 386.2 kB / 307.7 MB, free: 29.51 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005185/0.4767, allocations: 1.011 MB / 308.7 MB, free: 29.08 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008411/0.4851, allocations: 1.216 MB / 309.9 MB, free: 28.38 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007688/0.4929, allocations: 1.085 MB / 311 MB, free: 27.84 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.825e-05/0.4929, allocations: 1.656 kB / 311 MB, free: 27.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.08535/0.5783, allocations: 7.304 MB / 318.3 MB, free: 23.04 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.734e-05/0.5784, allocations: 67.41 kB / 318.4 MB, free: 22.96 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.5785, allocations: 4 kB / 318.4 MB, free: 22.96 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.115/0.6934, allocations: 6.709 MB / 325.1 MB, free: 16.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.6952, allocations: 179.7 kB / 325.3 MB, free: 16.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01715/0.7124, allocations: 3.864 MB / 329.1 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00364/0.7161, allocations: 295.7 kB / 329.4 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002397/0.7164, allocations: 47.97 kB / 329.5 MB, free: 11.82 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.V1.signalSource.T_start,V1.signalSource.T_start,$PRE.V1.signalSource.count,V1.signalSource.count,$PRE.V2.signalSource.T_start,V2.signalSource.T_start,$PRE.V2.signalSource.count,V2.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 32} Notification: Performance of prepare postOptimizeDAE: time 0.0006092/0.717, allocations: 214.5 kB / 329.7 MB, free: 11.6 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.7173, allocations: 79.06 kB / 329.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05251/0.7698, allocations: 6.737 MB / 336.5 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.087e-05/0.7699, allocations: 9.578 kB / 336.5 MB, free: 4.762 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.7699, allocations: 1.078 kB / 336.5 MB, free: 4.762 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.7701, allocations: 144.2 kB / 336.6 MB, free: 4.602 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003643/0.7705, allocations: 25.59 kB / 336.7 MB, free: 4.578 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003129/0.7736, allocations: 283.7 kB / 336.9 MB, free: 4.301 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007284/0.7744, allocations: 184.7 kB / 337.1 MB, free: 4.121 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03305/0.8074, allocations: 4.685 MB / 341.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01569/0.8232, allocations: 3.28 MB / 345.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005072/0.8283, allocations: 0.9173 MB / 346 MB, free: 11.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006334/0.829, allocations: 346.8 kB / 346.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of Backend: time 5.41e-07/0.829, allocations: 0 / 346.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.01081/0.8398, allocations: 1.83 MB / 348.2 MB, free: 9.047 MB / 266.7 MB Notification: Performance of SimCode: time 0.004522/0.8444, allocations: 2.724 MB / 350.9 MB, free: 6.305 MB / 266.7 MB Notification: Performance of Templates: time 0.05771/0.9021, allocations: 22.21 MB / 373.1 MB, free: 124 kB / 282.7 MB