Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Nor.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.Spice3.Examples.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mn1.Dinternal|mn1.Sinternal|mn2.Dinternal|mn2.Sinternal|mp1.Dinternal|mp1.Sinternal|mp2.Dinternal|mp2.Sinternal",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Nor") Notification: Performance of loadModel(Modelica): time 1.944/1.944, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.000363, allocations: 11.94 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09109, allocations: 44.5 MB / 309.1 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01638/0.1075, allocations: 10.93 MB / 320 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.03004/0.1376, allocations: 16.66 MB / 336.6 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002312/0.14, allocations: 67.44 kB / 336.7 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003914/0.144, allocations: 0.8669 MB / 337.6 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008533/0.1525, allocations: 2.041 MB / 339.6 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005339/0.1579, allocations: 1.157 MB / 340.8 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02094/0.1789, allocations: 5.449 MB / 346.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.1802, allocations: 399.5 kB / 346.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/0.1823, allocations: 0.8046 MB / 347.4 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002166/0.1845, allocations: 0.9709 MB / 348.4 MB, free: 8.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003738/0.1849, allocations: 43.94 kB / 348.4 MB, free: 8.855 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007204/0.1921, allocations: 1.226 MB / 349.7 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007786/0.1929, allocations: 262 kB / 349.9 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.1942, allocations: 0.6053 MB / 350.5 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01425/0.2085, allocations: 2.567 MB / 353.1 MB, free: 4.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2086, allocations: 0 / 353.1 MB, free: 4.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.2086, allocations: 0 / 353.1 MB, free: 4.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.379e-05/0.2087, allocations: 4 kB / 353.1 MB, free: 4.18 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.02306/0.2317, allocations: 3.163 MB / 356.3 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.2318, allocations: 8.031 kB / 356.3 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009973/0.2328, allocations: 383.4 kB / 356.6 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0124/0.2453, allocations: 2.376 MB / 359 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-05/0.2454, allocations: 40.98 kB / 359.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002768/0.2457, allocations: 51.91 kB / 359.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007987/0.2537, allocations: 0.785 MB / 359.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.2538, allocations: 4 kB / 359.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/0.254, allocations: 20 kB / 359.9 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.326e-05/0.2541, allocations: 19.98 kB / 359.9 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004671/0.2587, allocations: 0.9217 MB / 360.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01076/0.2695, allocations: 3.006 MB / 363.9 MB, free: 9.184 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004319/0.2739, allocations: 0.8458 MB / 364.7 MB, free: 8.328 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2845/0.5585, allocations: 30.31 MB / 395 MB, free: 45.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001844/0.5604, allocations: 0.632 MB / 395.6 MB, free: 45.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 5.741e-06/0.5604, allocations: 3.812 kB / 395.6 MB, free: 45.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=99): time 0.02077/0.5812, allocations: 6.022 MB / 401.7 MB, free: 41.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.5813, allocations: 64.62 kB / 401.7 MB, free: 41.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004084/0.5854, allocations: 2.681 MB / 404.4 MB, free: 39.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002186/0.5856, allocations: 45.7 kB / 404.5 MB, free: 39.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001223/0.5869, allocations: 1.297 MB / 405.8 MB, free: 37.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003445/0.5872, allocations: 335.5 kB / 406.1 MB, free: 37.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-05/0.5873, allocations: 20 kB / 406.1 MB, free: 37.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.317e-05/0.5874, allocations: 341.9 kB / 406.4 MB, free: 37.24 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/0.5896, allocations: 0.5293 MB / 407 MB, free: 36.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003377/0.593, allocations: 0.7017 MB / 407.7 MB, free: 35.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/0.5968, allocations: 0.5718 MB / 408.2 MB, free: 35.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.5969, allocations: 0 / 408.2 MB, free: 35.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.009926/0.6068, allocations: 2.106 MB / 410.3 MB, free: 33.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/0.6069, allocations: 8 kB / 410.4 MB, free: 33.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003225/0.6072, allocations: 120 kB / 410.5 MB, free: 33.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001691/0.609, allocations: 272.7 kB / 410.7 MB, free: 32.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/0.6115, allocations: 223.7 kB / 411 MB, free: 32.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/0.6238, allocations: 13.31 MB / 424.3 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.6261, allocations: 124 kB / 424.4 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/0.6263, allocations: 56 kB / 424.4 MB, free: 17.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.v.counter,v.counter,$PRE.vin2.counter,vin2.counter,$PRE.vin1.counter,vin1.counter,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.vin1.T0,vin1.T0,$PRE.vin1.counter2,vin1.counter2,$PRE.vin2.T0,vin2.T0,$PRE.vin2.counter2,vin2.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001058/0.6274, allocations: 429.6 kB / 424.9 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000519/0.6279, allocations: 375.5 kB / 425.2 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00816/0.6361, allocations: 2.364 MB / 427.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.6361, allocations: 7.938 kB / 427.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002118/0.6364, allocations: 116.9 kB / 427.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.6375, allocations: 488.4 kB / 428.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000614/0.6381, allocations: 23.98 kB / 428.2 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/0.64, allocations: 115.9 kB / 428.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004529/0.6405, allocations: 140.8 kB / 428.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0076/0.6481, allocations: 1.766 MB / 430.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007701/0.6558, allocations: 2.435 MB / 432.7 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002214/0.6581, allocations: 0.5856 MB / 433.2 MB, free: 8.824 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003016/0.6611, allocations: 1.751 MB / 435 MB, free: 7.066 MB / 314.7 MB Notification: Performance of Backend: time 1.122e-06/0.6611, allocations: 0 / 435 MB, free: 7.066 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006577/0.6677, allocations: 2.956 MB / 438 MB, free: 4.141 MB / 314.7 MB Notification: Performance of SimCode: time 0.01268/0.6805, allocations: 6.418 MB / 444.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of Templates: time 0.1141/0.7946, allocations: 36.14 MB / 480.5 MB, free: 9.508 MB / 362.7 MB