Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") Notification: Performance of loadModel(Modelica): time 1.958/1.958, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005027/0.0005027, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1012, allocations: 44.5 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.006081/0.1073, allocations: 3.764 MB / 312.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003385/0.1107, allocations: 1.324 MB / 314.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005498/0.1113, allocations: 11.94 kB / 314.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.1115, allocations: 71.38 kB / 314.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007431/0.1123, allocations: 259.2 kB / 314.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009344/0.1132, allocations: 271.5 kB / 314.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.1145, allocations: 0.7463 MB / 315.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004352/0.1149, allocations: 199.6 kB / 315.7 MB, free: 9.684 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006747/0.1156, allocations: 438.6 kB / 316.1 MB, free: 9.254 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008821/0.1165, allocations: 0.5099 MB / 316.6 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.1167, allocations: 56 kB / 316.7 MB, free: 8.688 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.117, allocations: 60 kB / 316.7 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.1172, allocations: 175.3 kB / 316.9 MB, free: 8.457 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.1175, allocations: 165.3 kB / 317.1 MB, free: 8.289 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.1186, allocations: 0.8104 MB / 317.9 MB, free: 7.477 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1186, allocations: 0 / 317.9 MB, free: 7.477 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1186, allocations: 0 / 317.9 MB, free: 7.477 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1186, allocations: 0 / 317.9 MB, free: 7.477 MB / 266.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.005311/0.1239, allocations: 1.313 MB / 319.2 MB, free: 6.098 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.124, allocations: 12.03 kB / 319.2 MB, free: 6.086 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.1243, allocations: 86.97 kB / 319.3 MB, free: 6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009414/0.1252, allocations: 460.5 kB / 319.7 MB, free: 5.512 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.68e-05/0.1253, allocations: 53.3 kB / 319.8 MB, free: 5.461 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.1255, allocations: 60 kB / 319.9 MB, free: 5.402 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003531/0.1291, allocations: 0.8574 MB / 320.7 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.1291, allocations: 0 / 320.7 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.1292, allocations: 28 kB / 320.7 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.1293, allocations: 16 kB / 320.8 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005301/0.1346, allocations: 1.106 MB / 321.9 MB, free: 3.387 MB / 266.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.006653/0.1413, allocations: 2.535 MB / 324.4 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004048/0.1453, allocations: 0.8598 MB / 325.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.363e-05/0.1454, allocations: 12.42 kB / 325.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002788/0.1482, allocations: 0.6262 MB / 325.9 MB, free: 15.17 MB / 282.7 MB Notification: Performance of pre-optimization done (n=54): time 3.818e-06/0.1482, allocations: 0 / 325.9 MB, free: 15.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=94): time 0.1324/0.2807, allocations: 16.4 MB / 342.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.2808, allocations: 145.5 kB / 342.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009239/0.2818, allocations: 0.5027 MB / 342.9 MB, free: 14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002358/0.282, allocations: 45.7 kB / 343 MB, free: 13.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.2824, allocations: 375.8 kB / 343.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004373/0.2829, allocations: 311.4 kB / 343.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.283, allocations: 24 kB / 343.7 MB, free: 13.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.2832, allocations: 382.8 kB / 344 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005185/0.2884, allocations: 1.009 MB / 345.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005387/0.2939, allocations: 1.217 MB / 346.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005208/0.2991, allocations: 1.08 MB / 347.3 MB, free: 9.469 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.2992, allocations: 4 kB / 347.4 MB, free: 9.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.06337/0.3625, allocations: 7.282 MB / 354.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.3627, allocations: 63.41 kB / 354.7 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.3627, allocations: 8 kB / 354.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08065/0.4434, allocations: 6.684 MB / 361.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.4448, allocations: 179.7 kB / 361.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0209/0.4657, allocations: 3.847 MB / 365.4 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005349/0.4711, allocations: 292 kB / 365.7 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003748/0.4716, allocations: 39.98 kB / 365.7 MB, free: 6.961 MB / 314.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.0009512/0.4725, allocations: 229.7 kB / 366 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004054/0.473, allocations: 79.06 kB / 366 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3944/0.8674, allocations: 6.711 MB / 372.7 MB, free: 63.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-05/0.8675, allocations: 4.266 kB / 372.8 MB, free: 63.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.8675, allocations: 0 / 372.8 MB, free: 63.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.8687, allocations: 279.4 kB / 373 MB, free: 63.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004621/0.8692, allocations: 23.53 kB / 373 MB, free: 63.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005043/0.8742, allocations: 282.2 kB / 373.3 MB, free: 63.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001349/0.8756, allocations: 185.4 kB / 373.5 MB, free: 63.55 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05115/0.9268, allocations: 4.682 MB / 378.2 MB, free: 63.23 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02265/0.9495, allocations: 3.26 MB / 381.4 MB, free: 62.3 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007239/0.9568, allocations: 0.91 MB / 382.4 MB, free: 62.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008288/0.9577, allocations: 341.7 kB / 382.7 MB, free: 61.95 MB / 314.7 MB Notification: Performance of Backend: time 1.804e-06/0.9577, allocations: 1.062 kB / 382.7 MB, free: 61.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01473/0.9725, allocations: 1.83 MB / 384.5 MB, free: 61.34 MB / 314.7 MB Notification: Performance of SimCode: time 0.005323/0.9779, allocations: 2.724 MB / 387.2 MB, free: 59.6 MB / 314.7 MB Notification: Performance of Templates: time 0.05344/1.031, allocations: 22.11 MB / 409.4 MB, free: 39.86 MB / 314.7 MB