Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.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.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.3_Modelica.Electrical.Spice3.Examples.Nor") 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.3_Modelica.Electrical.Spice3.Examples.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 110.5 kB / 18.4 MB, free: 4.672 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.001697/0.001697, allocations: 190.1 kB / 19.34 MB, free: 3.742 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.303/1.303, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.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.001303/0.001303, allocations: 43.94 kB / 329.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07409/0.0754, allocations: 46.61 MB / 375.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.1678/0.2432, allocations: 13.53 MB / 389.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02261/0.2659, allocations: 19.37 MB / 408.7 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002667/0.2686, allocations: 126.2 kB / 408.8 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003098/0.2717, allocations: 1.097 MB / 409.9 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007654/0.2794, allocations: 2.279 MB / 412.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004477/0.2839, allocations: 1.387 MB / 413.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01034/0.2942, allocations: 6.276 MB / 419.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007938/0.2951, allocations: 433.5 kB / 420.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.2968, allocations: 1.007 MB / 421.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.2981, allocations: 1.061 MB / 422.4 MB, free: 88 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.2983, allocations: 74.25 kB / 422.4 MB, free: 88 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004295/0.3026, allocations: 1.152 MB / 423.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000357/0.3029, allocations: 333.6 kB / 423.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001427/0.3044, allocations: 1.324 MB / 425.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00539/0.3098, allocations: 3.737 MB / 429 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3098, allocations: 0 / 429 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3098, allocations: 0 / 429 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.149e-05/0.3099, allocations: 0 / 429 MB, free: 10.3 MB / 350.1 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.005039/0.3149, allocations: 3.716 MB / 432.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.315, allocations: 8.031 kB / 432.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003926/0.3154, allocations: 401.5 kB / 433.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003432/0.3188, allocations: 2.571 MB / 435.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.3188, allocations: 44.88 kB / 435.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.319, allocations: 48 kB / 435.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.3204, allocations: 0.7538 MB / 436.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3205, allocations: 0 / 436.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.433e-05/0.3206, allocations: 24.86 kB / 436.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.3206, allocations: 27.97 kB / 436.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.3224, allocations: 0.8553 MB / 437.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00476/0.3272, allocations: 2.987 MB / 440.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.3289, allocations: 0.791 MB / 441.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.3304, allocations: 0.9526 MB / 442.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02992/0.3604, allocations: 30.12 MB / 472.3 MB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.3616, allocations: 0.5982 MB / 472.9 MB, free: 10.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.016e-06/0.3616, allocations: 3.938 kB / 472.9 MB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=99): time 0.01205/0.3737, allocations: 5.285 MB / 478.2 MB, free: 4.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.3737, allocations: 68.39 kB / 478.2 MB, free: 4.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003185/0.3769, allocations: 2.721 MB / 480.9 MB, free: 1.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.793e-05/0.377, allocations: 41.7 kB / 481 MB, free: 1.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.3781, allocations: 1.3 MB / 482.3 MB, free: 360 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/0.3784, allocations: 353 kB / 482.6 MB, free: 4 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003642/0.3787, allocations: 234.4 kB / 482.9 MB, free: 15.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3789, allocations: 349.9 kB / 483.2 MB, free: 15.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.3801, allocations: 478 kB / 483.7 MB, free: 14.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.3815, allocations: 0.6392 MB / 484.3 MB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002516/0.384, allocations: 1.137 MB / 485.4 MB, free: 13.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.384, allocations: 3.938 kB / 485.4 MB, free: 13.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004/0.388, allocations: 1.993 MB / 487.4 MB, free: 10.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.388, allocations: 7.984 kB / 487.4 MB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001615/0.3882, allocations: 119.9 kB / 487.6 MB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007174/0.3889, allocations: 272.4 kB / 487.8 MB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009027/0.3898, allocations: 195.7 kB / 488 MB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009335/0.3992, allocations: 14.26 MB / 0.4905 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.4006, allocations: 91.95 kB / 0.4906 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.4008, allocations: 56 kB / 0.4906 GB, free: 10.57 MB / 430.1 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 (v.counter,$PRE.v.counter,vin2.counter,$PRE.vin2.counter,vin1.counter,$PRE.vin1.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin2.counter2,$PRE.vin2.counter2,vin2.T0,$PRE.vin2.T0,vin1.counter2,$PRE.vin1.counter2,vin1.T0,$PRE.vin1.T0,$whenCondition1,$whenCondition2,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007817/0.4016, allocations: 429.6 kB / 0.4911 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000475/0.4021, allocations: 393.5 kB / 0.4914 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004698/0.4068, allocations: 2.218 MB / 0.4936 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.4068, allocations: 3.984 kB / 0.4936 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001486/0.4069, allocations: 120 kB / 0.4937 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007267/0.4077, allocations: 0.5063 MB / 0.4942 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003099/0.408, allocations: 16 kB / 0.4942 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009553/0.409, allocations: 83.89 kB / 0.4943 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003206/0.4093, allocations: 144.8 kB / 0.4944 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004314/0.4136, allocations: 1.583 MB / 0.496 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004378/0.418, allocations: 2.276 MB / 0.4982 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00123/0.4192, allocations: 0.5231 MB / 0.4987 GB, free: 2.133 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00221/0.4215, allocations: 1.778 MB / 0.5005 GB, free: 356 kB / 430.1 MB Notification: Performance of Backend: time 5.11e-07/0.4215, allocations: 0 / 0.5005 GB, free: 356 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004779/0.4263, allocations: 2.96 MB / 0.5034 GB, free: 13.22 MB / 446.1 MB Notification: Performance of SimCode: time 0.006864/0.4331, allocations: 5.901 MB / 0.5091 GB, free: 7.234 MB / 446.1 MB Notification: Performance of Templates: time 0.2216/0.6547, allocations: 40.02 MB / 0.5482 GB, free: 158.6 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.pipe 2>&1)