Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001082, allocations: 113.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2208, allocations: 50.54 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01239/0.2332, allocations: 14.18 MB / 424.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02169/0.2549, allocations: 20.34 MB / 444.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.2564, allocations: 126.9 kB / 444.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.2589, allocations: 1.113 MB / 445.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006455/0.2654, allocations: 2.293 MB / 448 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.2692, allocations: 1.439 MB / 449.4 MB, free: 9.918 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008864/0.2781, allocations: 6.5 MB / 455.9 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005969/0.2787, allocations: 428.5 kB / 456.3 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.2799, allocations: 1.093 MB / 457.4 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.281, allocations: 1.091 MB / 458.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.2812, allocations: 76 kB / 458.6 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003202/0.2844, allocations: 1.475 MB / 460.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002694/0.2846, allocations: 321.8 kB / 460.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.2857, allocations: 1.316 MB / 461.7 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003932/0.2897, allocations: 3.693 MB / 465.4 MB, free: 9.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2897, allocations: 4 kB / 465.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2897, allocations: 0 / 465.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.457e-05/0.2897, allocations: 0 / 465.4 MB, free: 9.848 MB / 382.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.004881/0.2946, allocations: 3.561 MB / 469 MB, free: 6.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2947, allocations: 12.02 kB / 469 MB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004927/0.2952, allocations: 379.4 kB / 469.3 MB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003367/0.2985, allocations: 2.517 MB / 471.9 MB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.2986, allocations: 29 kB / 471.9 MB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.2987, allocations: 63.89 kB / 471.9 MB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.3001, allocations: 0.7616 MB / 472.7 MB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3001, allocations: 0 / 472.7 MB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.248e-05/0.3002, allocations: 19.94 kB / 472.7 MB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.3002, allocations: 19.98 kB / 472.7 MB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.302, allocations: 0.8553 MB / 473.6 MB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004414/0.3064, allocations: 2.97 MB / 476.6 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.3081, allocations: 0.7988 MB / 477.4 MB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.3095, allocations: 0.9448 MB / 478.3 MB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02863/0.3381, allocations: 30.69 MB / 0.4971 GB, free: 9.742 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/0.3393, allocations: 0.6034 MB / 0.4977 GB, free: 9.129 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.006e-06/0.3393, allocations: 0 / 0.4977 GB, free: 9.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=99): time 0.01189/0.3512, allocations: 5.221 MB / 0.5028 GB, free: 3.652 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.3513, allocations: 68.41 kB / 0.5028 GB, free: 3.574 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/0.3543, allocations: 2.688 MB / 0.5055 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.295e-05/0.3543, allocations: 49.7 kB / 0.5055 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.3554, allocations: 1.299 MB / 0.5068 GB, free: 15.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.3557, allocations: 343 kB / 0.5071 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003265/0.356, allocations: 230.3 kB / 0.5073 GB, free: 14.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3561, allocations: 349.9 kB / 0.5077 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.3573, allocations: 474 kB / 0.5081 GB, free: 14.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.3586, allocations: 0.647 MB / 0.5087 GB, free: 13.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/0.3611, allocations: 1.129 MB / 0.5098 GB, free: 12.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3611, allocations: 4 kB / 0.5098 GB, free: 12.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003744/0.3648, allocations: 1.972 MB / 0.5118 GB, free: 10.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3649, allocations: 18.97 kB / 0.5118 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001644/0.365, allocations: 116 kB / 0.5119 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006709/0.3657, allocations: 264.4 kB / 0.5122 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000883/0.3666, allocations: 195.7 kB / 0.5123 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009113/0.3757, allocations: 14.25 MB / 0.5263 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.377, allocations: 91.89 kB / 0.5263 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.3772, allocations: 60.06 kB / 0.5264 GB, free: 9.758 MB / 462.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.0008067/0.378, allocations: 429.5 kB / 0.5268 GB, free: 9.328 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004729/0.3785, allocations: 367.6 kB / 0.5272 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004882/0.3834, allocations: 2.222 MB / 0.5293 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.3834, allocations: 3.984 kB / 0.5293 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001486/0.3835, allocations: 108 kB / 0.5294 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009293/0.3845, allocations: 0.4888 MB / 0.5299 GB, free: 6.039 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003193/0.3848, allocations: 16 kB / 0.5299 GB, free: 6.023 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.3858, allocations: 79.89 kB / 0.53 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003011/0.3861, allocations: 144.8 kB / 0.5301 GB, free: 5.805 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004416/0.3906, allocations: 1.583 MB / 0.5317 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004588/0.3952, allocations: 2.258 MB / 0.5339 GB, free: 1.91 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001283/0.3965, allocations: 0.5192 MB / 0.5344 GB, free: 1.395 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.1882/0.5847, allocations: 1.766 MB / 0.5361 GB, free: 129.2 MB / 462.1 MB Notification: Performance of Backend: time 1.222e-06/0.5847, allocations: 0.5312 kB / 0.5361 GB, free: 129.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007409/0.5922, allocations: 2.943 MB / 0.539 GB, free: 127.9 MB / 462.1 MB Notification: Performance of SimCode: time 0.009705/0.6019, allocations: 5.872 MB / 0.5447 GB, free: 125.2 MB / 462.1 MB Notification: Performance of Templates: time 0.0558/0.6577, allocations: 39.95 MB / 0.5837 GB, free: 90.43 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe 2>&1)