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.001071/0.001071, allocations: 107.1 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001094/0.001094, allocations: 203.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 59.91 kB / 359.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2127, allocations: 50.55 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01233/0.2251, allocations: 14.18 MB / 424.1 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02163/0.2468, allocations: 20.34 MB / 444.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002004/0.2488, allocations: 122.9 kB / 444.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002645/0.2515, allocations: 1.125 MB / 445.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006404/0.2579, allocations: 2.317 MB / 448 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004015/0.2619, allocations: 1.439 MB / 449.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009292/0.2713, allocations: 6.5 MB / 456 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006676/0.272, allocations: 428.5 kB / 456.4 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.2734, allocations: 1.097 MB / 457.5 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.2746, allocations: 1.083 MB / 458.6 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.2748, allocations: 76 kB / 458.6 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003763/0.2785, allocations: 1.479 MB / 460.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003223/0.2789, allocations: 317.8 kB / 460.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.2801, allocations: 1.32 MB / 461.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004215/0.2843, allocations: 3.693 MB / 465.4 MB, free: 9.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2843, allocations: 4 kB / 465.4 MB, free: 9.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2844, allocations: 0 / 465.4 MB, free: 9.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.48e-05/0.2844, allocations: 0 / 465.4 MB, free: 9.855 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.005465/0.2899, allocations: 3.557 MB / 469 MB, free: 6.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2899, allocations: 12.03 kB / 469 MB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000407/0.2903, allocations: 379.4 kB / 469.4 MB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003499/0.2939, allocations: 2.517 MB / 471.9 MB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.2939, allocations: 37 kB / 471.9 MB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.294, allocations: 55.91 kB / 472 MB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.2955, allocations: 0.7576 MB / 472.7 MB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.2956, allocations: 0 / 472.7 MB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.402e-05/0.2956, allocations: 23.98 kB / 472.8 MB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.2957, allocations: 23.98 kB / 472.8 MB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.2974, allocations: 0.8514 MB / 473.6 MB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004734/0.3022, allocations: 2.974 MB / 476.6 MB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.3039, allocations: 0.791 MB / 477.4 MB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.3053, allocations: 0.9487 MB / 478.4 MB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02894/0.3343, allocations: 30.69 MB / 0.4971 GB, free: 9.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/0.3355, allocations: 0.5996 MB / 0.4977 GB, free: 9.141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.985e-06/0.3355, allocations: 4 kB / 0.4977 GB, free: 9.137 MB / 430.1 MB Notification: Performance of matching and sorting (n=99): time 0.01212/0.3477, allocations: 5.225 MB / 0.5028 GB, free: 3.656 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.3477, allocations: 64.41 kB / 0.5029 GB, free: 3.582 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00287/0.3506, allocations: 2.696 MB / 0.5055 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.481e-05/0.3507, allocations: 45.7 kB / 0.5055 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.3518, allocations: 1.299 MB / 0.5068 GB, free: 15.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.352, allocations: 335.1 kB / 0.5071 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003433/0.3524, allocations: 238.3 kB / 0.5074 GB, free: 14.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3525, allocations: 341.9 kB / 0.5077 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.3538, allocations: 478 kB / 0.5081 GB, free: 14.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.3552, allocations: 0.647 MB / 0.5088 GB, free: 13.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002623/0.3579, allocations: 1.133 MB / 0.5099 GB, free: 12.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3579, allocations: 0 / 0.5099 GB, free: 12.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003954/0.3618, allocations: 1.968 MB / 0.5118 GB, free: 10.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3619, allocations: 15.94 kB / 0.5118 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001684/0.362, allocations: 124 kB / 0.5119 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006795/0.3627, allocations: 260.4 kB / 0.5122 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009018/0.3636, allocations: 199.7 kB / 0.5124 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008738/0.3724, allocations: 14.24 MB / 0.5263 GB, free: 9.922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.3737, allocations: 83.91 kB / 0.5264 GB, free: 9.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.3739, allocations: 71.98 kB / 0.5264 GB, free: 9.77 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.0007712/0.3746, allocations: 429.1 kB / 0.5268 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003466/0.375, allocations: 363.6 kB / 0.5272 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004897/0.3799, allocations: 2.226 MB / 0.5294 GB, free: 6.676 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.3799, allocations: 3.984 kB / 0.5294 GB, free: 6.672 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001559/0.3801, allocations: 116 kB / 0.5295 GB, free: 6.559 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008872/0.381, allocations: 492.5 kB / 0.5299 GB, free: 6.055 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003337/0.3813, allocations: 24 kB / 0.53 GB, free: 6.031 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.3823, allocations: 79.89 kB / 0.53 GB, free: 5.953 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003057/0.3827, allocations: 144.8 kB / 0.5302 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004638/0.3873, allocations: 1.583 MB / 0.5317 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004617/0.3919, allocations: 2.258 MB / 0.5339 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001295/0.3932, allocations: 0.5192 MB / 0.5344 GB, free: 1.402 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.1816/0.5749, allocations: 1.767 MB / 0.5362 GB, free: 130 MB / 462.1 MB Notification: Performance of Backend: time 1.433e-06/0.5749, allocations: 0.8438 kB / 0.5362 GB, free: 130 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005298/0.5802, allocations: 2.938 MB / 0.539 GB, free: 128.6 MB / 462.1 MB Notification: Performance of SimCode: time 0.006368/0.5866, allocations: 5.879 MB / 0.5448 GB, free: 126 MB / 462.1 MB Notification: Performance of Templates: time 0.05105/0.6377, allocations: 39.95 MB / 0.5838 GB, free: 90.76 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)