Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001115/0.001115, allocations: 108.7 kB / 17.74 MB, free: 5.336 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.001106/0.001106, allocations: 190.9 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008881/0.0008882, allocations: 47.94 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2237, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01279/0.2365, allocations: 14.19 MB / 415.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02087/0.2574, allocations: 20.31 MB / 435.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.2591, allocations: 118.9 kB / 436 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.2616, allocations: 1.133 MB / 437.2 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005943/0.2676, allocations: 2.308 MB / 439.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003783/0.2714, allocations: 1.443 MB / 440.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008499/0.2799, allocations: 6.418 MB / 447.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006229/0.2806, allocations: 432.5 kB / 447.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.2818, allocations: 1.097 MB / 448.8 MB, free: 9.191 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.2829, allocations: 1.079 MB / 449.9 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.2831, allocations: 76 kB / 450 MB, free: 8.031 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003586/0.2867, allocations: 1.475 MB / 451.5 MB, free: 6.555 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002824/0.287, allocations: 329.6 kB / 451.8 MB, free: 6.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.2881, allocations: 1.32 MB / 453.1 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00383/0.2919, allocations: 3.693 MB / 456.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.292, allocations: 0 / 456.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.292, allocations: 0 / 456.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.834e-05/0.292, allocations: 0 / 456.8 MB, free: 1.195 MB / 366.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.00487/0.2969, allocations: 3.549 MB / 460.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2969, allocations: 12.02 kB / 460.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/0.2973, allocations: 379.5 kB / 460.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003336/0.3007, allocations: 2.528 MB / 463.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.3007, allocations: 33 kB / 463.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.3008, allocations: 55.89 kB / 463.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.3024, allocations: 0.7577 MB / 464.1 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3024, allocations: 4 kB / 464.1 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.17e-05/0.3025, allocations: 16 kB / 464.1 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.3025, allocations: 19.98 kB / 464.1 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.3043, allocations: 0.8514 MB / 465 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004676/0.309, allocations: 2.966 MB / 468 MB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.3107, allocations: 0.7832 MB / 468.7 MB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.3122, allocations: 0.9566 MB / 469.7 MB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02967/0.3419, allocations: 30.06 MB / 499.8 MB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001215/0.3431, allocations: 0.6035 MB / 0.4886 GB, free: 1.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.116e-06/0.3431, allocations: 0 / 0.4886 GB, free: 1.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=99): time 0.01253/0.3557, allocations: 5.229 MB / 0.4937 GB, free: 11.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.3558, allocations: 64.41 kB / 0.4938 GB, free: 11.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003497/0.3593, allocations: 2.696 MB / 0.4964 GB, free: 8.992 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/0.3594, allocations: 41.7 kB / 0.4965 GB, free: 8.945 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.3604, allocations: 1.299 MB / 0.4978 GB, free: 7.641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/0.3607, allocations: 335.1 kB / 0.4981 GB, free: 7.309 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003511/0.3611, allocations: 238.2 kB / 0.4983 GB, free: 7.066 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3612, allocations: 345.9 kB / 0.4986 GB, free: 6.723 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.3625, allocations: 490 kB / 0.4991 GB, free: 6.242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.3639, allocations: 0.6392 MB / 0.4997 GB, free: 5.543 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/0.3666, allocations: 1.129 MB / 0.5008 GB, free: 4.352 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3666, allocations: 0 / 0.5008 GB, free: 4.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003974/0.3706, allocations: 1.975 MB / 0.5028 GB, free: 2.297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3706, allocations: 15.88 kB / 0.5028 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001675/0.3708, allocations: 120 kB / 0.5029 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006857/0.3715, allocations: 268.8 kB / 0.5031 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009066/0.3724, allocations: 191.7 kB / 0.5033 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009192/0.3816, allocations: 14.25 MB / 0.5172 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.3829, allocations: 87.97 kB / 0.5173 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.383, allocations: 64 kB / 0.5174 GB, free: 1.887 MB / 446.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.0007651/0.3838, allocations: 425.5 kB / 0.5178 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004874/0.3843, allocations: 367.6 kB / 0.5181 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005081/0.3894, allocations: 2.211 MB / 0.5203 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.3894, allocations: 3.984 kB / 0.5203 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002232/0.3896, allocations: 116 kB / 0.5204 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009301/0.3906, allocations: 492.5 kB / 0.5209 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003875/0.391, allocations: 24 kB / 0.5209 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.3921, allocations: 79.89 kB / 0.521 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003159/0.3924, allocations: 144.8 kB / 0.5211 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004687/0.3971, allocations: 1.583 MB / 0.5227 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004726/0.4018, allocations: 2.25 MB / 0.5249 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001339/0.4032, allocations: 0.5231 MB / 0.5254 GB, free: 9.535 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002389/0.4056, allocations: 1.77 MB / 0.5271 GB, free: 7.758 MB / 462.1 MB Notification: Performance of Backend: time 8.61e-07/0.4056, allocations: 0 / 0.5271 GB, free: 7.758 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004937/0.4105, allocations: 2.951 MB / 0.53 GB, free: 4.641 MB / 462.1 MB Notification: Performance of SimCode: time 0.1843/0.5948, allocations: 5.839 MB / 0.5357 GB, free: 135.2 MB / 462.1 MB Notification: Performance of Templates: time 0.04938/0.6442, allocations: 39.84 MB / 0.5746 GB, free: 104.3 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor.pipe 2>&1)