Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|mn1.Dinternal|mn1.Sinternal|mn2.Dinternal|mn2.Sinternal|mp1.Dinternal|mp1.Sinternal|mp2.Dinternal|mp2.Sinternal",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor") translateModel(Modelica.Electrical.Spice3.Examples.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|mn1.Dinternal|mn1.Sinternal|mn2.Dinternal|mn2.Sinternal|mp1.Dinternal|mp1.Sinternal|mp2.Dinternal|mp2.Sinternal",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.00138, allocations: 109.3 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.43/1.43, allocations: 230.4 MB / 251.1 MB, free: 8.465 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.84 kB / 368.9 MB, free: 6.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2409, allocations: 53.31 MB / 422.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01527/0.2562, allocations: 14.24 MB / 436.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02612/0.2823, allocations: 20.41 MB / 456.9 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002036/0.2844, allocations: 118.9 kB / 457 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002915/0.2873, allocations: 1.131 MB / 458.1 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008578/0.2959, allocations: 2.33 MB / 460.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004623/0.3005, allocations: 1.46 MB / 461.9 MB, free: 24 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01039/0.3109, allocations: 6.511 MB / 468.4 MB, free: 9.492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005396/0.3114, allocations: 256.5 kB / 468.7 MB, free: 9.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.313, allocations: 1.093 MB / 469.8 MB, free: 8.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.3144, allocations: 1.083 MB / 470.9 MB, free: 7.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.3145, allocations: 72 kB / 470.9 MB, free: 6.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003972/0.3185, allocations: 1.487 MB / 472.4 MB, free: 5.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003932/0.3189, allocations: 325.7 kB / 472.7 MB, free: 5.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001496/0.3204, allocations: 1.324 MB / 474.1 MB, free: 3.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005138/0.3255, allocations: 3.702 MB / 477.8 MB, free: 92 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3255, allocations: 4 kB / 477.8 MB, free: 88 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3255, allocations: 0 / 477.8 MB, free: 88 kB / 382.1 MB Notification: Performance of Transformations before backend: time 3.915e-05/0.3256, allocations: 0 / 477.8 MB, free: 88 kB / 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.006218/0.3318, allocations: 3.689 MB / 481.5 MB, free: 12.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.3318, allocations: 8.031 kB / 481.5 MB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005464/0.3324, allocations: 397.5 kB / 481.9 MB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003927/0.3363, allocations: 2.559 MB / 484.4 MB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/0.3364, allocations: 44.94 kB / 484.5 MB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.3365, allocations: 48 kB / 484.5 MB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.3382, allocations: 0.7499 MB / 485.3 MB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.3382, allocations: 0 / 485.3 MB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.382e-05/0.3383, allocations: 24 kB / 485.3 MB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.3383, allocations: 23.98 kB / 485.3 MB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.3402, allocations: 0.8553 MB / 486.2 MB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005647/0.3458, allocations: 2.974 MB / 489.1 MB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.3476, allocations: 0.7285 MB / 489.9 MB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.3491, allocations: 0.8589 MB / 490.7 MB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03537/0.3845, allocations: 30.69 MB / 0.5092 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/0.3858, allocations: 0.5957 MB / 0.5098 GB, free: 15.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 2.685e-06/0.3858, allocations: 0 / 0.5098 GB, free: 15.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.01248/0.3983, allocations: 5.278 MB / 0.5149 GB, free: 9.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.3983, allocations: 60.41 kB / 0.515 GB, free: 9.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003402/0.4017, allocations: 2.704 MB / 0.5176 GB, free: 7.031 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.457e-05/0.4018, allocations: 41.7 kB / 0.5177 GB, free: 6.984 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001226/0.403, allocations: 1.304 MB / 0.5189 GB, free: 5.676 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003261/0.4034, allocations: 349 kB / 0.5193 GB, free: 5.332 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/0.4037, allocations: 238.4 kB / 0.5195 GB, free: 5.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.4039, allocations: 341.9 kB / 0.5198 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.4052, allocations: 482 kB / 0.5203 GB, free: 4.277 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.4066, allocations: 0.647 MB / 0.5209 GB, free: 3.566 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002597/0.4092, allocations: 1.129 MB / 0.522 GB, free: 2.375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.4092, allocations: 4 kB / 0.522 GB, free: 2.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004176/0.4134, allocations: 1.982 MB / 0.524 GB, free: 320 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.4134, allocations: 11.94 kB / 0.524 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001837/0.4136, allocations: 120 kB / 0.5241 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007326/0.4143, allocations: 260.5 kB / 0.5243 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008965/0.4152, allocations: 199.7 kB / 0.5245 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.4267, allocations: 14.24 MB / 0.5384 GB, free: 64 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1911/0.6178, allocations: 87.78 kB / 0.5385 GB, free: 120.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/0.6181, allocations: 59.03 kB / 0.5386 GB, free: 120.7 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.0008003/0.6189, allocations: 425.2 kB / 0.539 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004749/0.6194, allocations: 390.5 kB / 0.5394 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004608/0.624, allocations: 2.212 MB / 0.5415 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.624, allocations: 9.406 kB / 0.5415 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.624, allocations: 2.938 kB / 0.5415 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.624, allocations: 5.906 kB / 0.5415 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.6256, allocations: 1.543 MB / 0.543 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001243/0.6257, allocations: 112.1 kB / 0.5431 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007017/0.6264, allocations: 136.8 kB / 0.5433 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005365/0.627, allocations: 272.2 kB / 0.5435 GB, free: 119.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.481e-05/0.627, allocations: 43.81 kB / 0.5436 GB, free: 119.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005879/0.6329, allocations: 14.24 MB / 0.5575 GB, free: 105.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6329, allocations: 3.938 kB / 0.5575 GB, free: 105.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004517/0.6374, allocations: 2.562 MB / 0.56 GB, free: 104.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006864/0.6381, allocations: 0.5028 MB / 0.5605 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003026/0.6384, allocations: 19.91 kB / 0.5605 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009572/0.6394, allocations: 81.52 kB / 0.5606 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003218/0.6397, allocations: 149.7 kB / 0.5607 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.813e-05/0.6398, allocations: 53.7 kB / 0.5608 GB, free: 104.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001953/0.6417, allocations: 1.764 MB / 0.5625 GB, free: 103.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6417, allocations: 0 / 0.5625 GB, free: 103.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001362/0.6431, allocations: 0.6556 MB / 0.5631 GB, free: 103.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (mp1.Dinternal,mp1.Sinternal,mp2.Dinternal,mp2.Sinternal,mn1.Dinternal,mn1.Sinternal,mn2.Dinternal,mn2.Sinternal) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,vin1.T0,vin1.counter,vin1.counter2,vin2.T0,vin2.counter,vin2.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 6 (vin1.counter,vin2.counter,v.counter,vin1.counter2,vin2.counter2,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 9 * 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 Backend phase and start with SimCode phase: time 0.001015/0.6441, allocations: 0.818 MB / 0.5639 GB, free: 103.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003208/0.6473, allocations: 2.452 MB / 0.5663 GB, free: 101.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6473, allocations: 0 / 0.5663 GB, free: 101.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.6493, allocations: 1.903 MB / 0.5682 GB, free: 99.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.6515, allocations: 0.6293 MB / 0.5688 GB, free: 99.37 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005421/0.6569, allocations: 4.749 MB / 0.5734 GB, free: 94.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007366/0.6577, allocations: 1.658 MB / 0.5751 GB, free: 92.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001053/0.6587, allocations: 387.3 kB / 0.5754 GB, free: 92.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.659, allocations: 167.4 kB / 0.5756 GB, free: 92.36 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.659, allocations: 8 kB / 0.5756 GB, free: 92.35 MB / 462.1 MB Notification: Performance of Templates: time 0.0522/0.7112, allocations: 37.79 MB / 0.6125 GB, free: 54.8 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe 2>&1) [Timeout 480]