Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001707/0.001707, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.241/1.241, allocations: 170.6 MB / 178.7 MB, free: 15.59 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00154/0.00154, allocations: 107.5 kB / 218 MB, free: 8.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.937e-05, allocations: 4 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09326/0.0933, allocations: 38.77 MB / 301 MB, free: 3.629 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3011/0.3945, allocations: 93.3 MB / 394.3 MB, free: 7.316 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.3948, allocations: 69.59 kB / 394.3 MB, free: 7.285 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5375/0.9323, allocations: 122.2 MB / 0.5045 GB, free: 72.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.9324, allocations: 0 / 0.5045 GB, free: 72.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001057/0.9325, allocations: 46 kB / 0.5045 GB, free: 72.91 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.006828/0.9393, allocations: 2.7 MB / 0.5071 GB, free: 71.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.9394, allocations: 7.25 kB / 0.5071 GB, free: 71.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009685/0.9404, allocations: 404.4 kB / 0.5075 GB, free: 71.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006283/0.9467, allocations: 2.367 MB / 0.5098 GB, free: 69.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.353e-05/0.9468, allocations: 14.19 kB / 0.5099 GB, free: 69.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002748/0.9471, allocations: 35.08 kB / 0.5099 GB, free: 69.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001739/0.9488, allocations: 0.6859 MB / 0.5106 GB, free: 69.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.9505, allocations: 0.7253 MB / 0.5113 GB, free: 69.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.9506, allocations: 0 / 0.5113 GB, free: 69.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.9507, allocations: 0 / 0.5113 GB, free: 69.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.773e-05/0.9508, allocations: 22.52 kB / 0.5113 GB, free: 69.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009239/0.96, allocations: 3.086 MB / 0.5143 GB, free: 67.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009653/0.961, allocations: 473 kB / 0.5147 GB, free: 67.74 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009554/0.962, allocations: 0.5705 MB / 0.5153 GB, free: 67.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04732/1.009, allocations: 36.16 MB / 0.5506 GB, free: 33.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000677/1.01, allocations: 301.6 kB / 0.5509 GB, free: 33.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 4.048e-06/1.01, allocations: 0 / 0.5509 GB, free: 33.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.002098/1.012, allocations: 0.7858 MB / 0.5517 GB, free: 32.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/1.012, allocations: 280.8 kB / 0.5519 GB, free: 31.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006047/1.018, allocations: 2.314 MB / 0.5542 GB, free: 29.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.05e-05/1.018, allocations: 29.7 kB / 0.5542 GB, free: 29.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001794/1.02, allocations: 1.501 MB / 0.5557 GB, free: 28.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/1.021, allocations: 161.8 kB / 0.5558 GB, free: 27.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/1.021, allocations: 0 / 0.5558 GB, free: 27.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.858e-05/1.021, allocations: 341.9 kB / 0.5562 GB, free: 27.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/1.021, allocations: 178.6 kB / 0.5563 GB, free: 27.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006759/1.022, allocations: 0.5703 MB / 0.5569 GB, free: 26.65 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007018/1.023, allocations: 272.8 kB / 0.5572 GB, free: 26.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/1.023, allocations: 0 / 0.5572 GB, free: 26.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002464/1.025, allocations: 1.038 MB / 0.5582 GB, free: 25.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/1.025, allocations: 8 kB / 0.5582 GB, free: 25.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/1.025, allocations: 83.98 kB / 0.5583 GB, free: 25.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.456e-05/1.025, allocations: 20 kB / 0.5583 GB, free: 25.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.027, allocations: 217.6 kB / 0.5585 GB, free: 25.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.87e-05/1.027, allocations: 23.88 kB / 0.5585 GB, free: 25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/1.029, allocations: 115 kB / 0.5586 GB, free: 24.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/1.029, allocations: 64 kB / 0.5587 GB, free: 24.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002627/1.029, allocations: 146.4 kB / 0.5588 GB, free: 24.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000723/1.03, allocations: 387.4 kB / 0.5592 GB, free: 24.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003972/1.034, allocations: 1.104 MB / 0.5603 GB, free: 23.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.034, allocations: 7.938 kB / 0.5603 GB, free: 23.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.034, allocations: 4 kB / 0.5603 GB, free: 23.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/1.034, allocations: 0 / 0.5603 GB, free: 23.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/1.037, allocations: 2.017 MB / 0.5623 GB, free: 21.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-05/1.038, allocations: 67.98 kB / 0.5623 GB, free: 21.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004708/1.038, allocations: 107.9 kB / 0.5624 GB, free: 20.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/1.038, allocations: 0 / 0.5624 GB, free: 20.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/1.038, allocations: 27.98 kB / 0.5624 GB, free: 20.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/1.038, allocations: 4 kB / 0.5624 GB, free: 20.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.038, allocations: 0 / 0.5624 GB, free: 20.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/1.039, allocations: 1.194 MB / 0.5636 GB, free: 19.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009273/1.04, allocations: 0.5568 MB / 0.5642 GB, free: 19.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005838/1.041, allocations: 11.7 kB / 0.5642 GB, free: 19.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009984/1.042, allocations: 40.02 kB / 0.5642 GB, free: 19.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/1.042, allocations: 59.94 kB / 0.5643 GB, free: 18.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/1.042, allocations: 35.98 kB / 0.5643 GB, free: 18.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00208/1.044, allocations: 1.721 MB / 0.566 GB, free: 17.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.044, allocations: 0 / 0.566 GB, free: 17.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001446/1.046, allocations: 0.6049 MB / 0.5666 GB, free: 16.62 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001001/1.047, allocations: 0.9369 MB / 0.5675 GB, free: 15.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007824/1.048, allocations: 0.6649 MB / 0.5681 GB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.048, allocations: 0.6875 kB / 0.5681 GB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003716/1.048, allocations: 391 kB / 0.5685 GB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/1.049, allocations: 0.4957 MB / 0.569 GB, free: 14.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/1.053, allocations: 3.131 MB / 0.5721 GB, free: 11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007937/1.054, allocations: 1.732 MB / 0.5737 GB, free: 9.246 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001186/1.055, allocations: 374.5 kB / 0.5741 GB, free: 8.875 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/1.056, allocations: 167.4 kB / 0.5743 GB, free: 8.711 MB / 346.7 MB Notification: Performance of SimCode: time 7.82e-07/1.056, allocations: 4 kB / 0.5743 GB, free: 8.707 MB / 346.7 MB Notification: Performance of Templates: time 0.2249/1.28, allocations: 28.19 MB / 0.6018 GB, free: 86.84 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1)