Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.InvertersExtendedModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008528/0.008528, allocations: 165.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.363/1.363, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001774/0.001774, allocations: 110.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003195, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2873, allocations: 38.77 MB / 312.9 MB, free: 38.8 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1743/0.4617, allocations: 94.08 MB / 407 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/0.4622, allocations: 75.95 kB / 407 MB, free: 12.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4546/0.9168, allocations: 129.4 MB / 0.5239 GB, free: 2.492 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.9169, allocations: 0 / 0.5239 GB, free: 2.492 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.213e-05/0.917, allocations: 44 kB / 0.5239 GB, free: 2.449 MB / 330.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.008529/0.9255, allocations: 3.559 MB / 0.5274 GB, free: 14.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.9256, allocations: 8.031 kB / 0.5274 GB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006678/0.9262, allocations: 418.9 kB / 0.5278 GB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004886/0.9311, allocations: 2.456 MB / 0.5302 GB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.9312, allocations: 41 kB / 0.5302 GB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.9313, allocations: 55.86 kB / 0.5303 GB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.9329, allocations: 0.8612 MB / 0.5311 GB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.9329, allocations: 4 kB / 0.5311 GB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.368e-05/0.933, allocations: 31.92 kB / 0.5311 GB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.933, allocations: 19.98 kB / 0.5312 GB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.9345, allocations: 0.8554 MB / 0.532 GB, free: 9.969 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006589/0.9411, allocations: 3.281 MB / 0.5352 GB, free: 6.609 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.9424, allocations: 0.6142 MB / 0.5358 GB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.26/1.202, allocations: 36.05 MB / 0.571 GB, free: 34.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008402/1.203, allocations: 380.6 kB / 0.5714 GB, free: 34.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 2.314e-06/1.203, allocations: 0 / 0.5714 GB, free: 34.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.00303/1.206, allocations: 1.49 MB / 0.5728 GB, free: 33.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/1.206, allocations: 268.1 kB / 0.5731 GB, free: 33.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004983/1.211, allocations: 2.706 MB / 0.5757 GB, free: 33.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001393/1.212, allocations: 41.73 kB / 0.5758 GB, free: 33.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001441/1.213, allocations: 1.575 MB / 0.5773 GB, free: 33 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/1.213, allocations: 171.9 kB / 0.5775 GB, free: 32.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/1.213, allocations: 16.66 kB / 0.5775 GB, free: 32.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/1.214, allocations: 345.1 kB / 0.5778 GB, free: 32.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00064/1.214, allocations: 263.4 kB / 0.5781 GB, free: 32.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/1.215, allocations: 0.6647 MB / 0.5787 GB, free: 32.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008892/1.216, allocations: 345.3 kB / 0.579 GB, free: 32.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/1.216, allocations: 4.688 kB / 0.579 GB, free: 32.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003207/1.219, allocations: 1.289 MB / 0.5803 GB, free: 31.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/1.219, allocations: 10.38 kB / 0.5803 GB, free: 31.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/1.22, allocations: 80.08 kB / 0.5804 GB, free: 31.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.628e-05/1.22, allocations: 22.94 kB / 0.5804 GB, free: 31.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007901/1.22, allocations: 211.1 kB / 0.5806 GB, free: 31.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.221e-05/1.22, allocations: 26.83 kB / 0.5806 GB, free: 31.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/1.222, allocations: 128.9 kB / 0.5808 GB, free: 31.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/1.222, allocations: 65.66 kB / 0.5808 GB, free: 31.84 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 () * Number of clocked 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.001252/1.223, allocations: 460.5 kB / 0.5813 GB, free: 31.72 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005577/1.224, allocations: 402.8 kB / 0.5817 GB, free: 31.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003069/1.227, allocations: 1.29 MB / 0.5829 GB, free: 31.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/1.227, allocations: 5.875 kB / 0.5829 GB, free: 31.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.227, allocations: 0 / 0.5829 GB, free: 31.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.227, allocations: 6.188 kB / 0.5829 GB, free: 31.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004101/1.231, allocations: 2.342 MB / 0.5852 GB, free: 31.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.503e-05/1.231, allocations: 72.17 kB / 0.5853 GB, free: 31.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/1.232, allocations: 99.45 kB / 0.5854 GB, free: 31.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/1.232, allocations: 3.156 kB / 0.5854 GB, free: 31.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.079e-05/1.232, allocations: 36.53 kB / 0.5854 GB, free: 31.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/1.232, allocations: 2.844 kB / 0.5854 GB, free: 31.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.232, allocations: 2.344 kB / 0.5854 GB, free: 31.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/1.234, allocations: 1.439 MB / 0.5868 GB, free: 30.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/1.235, allocations: 0.5191 MB / 0.5873 GB, free: 30.29 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003444/1.236, allocations: 18.36 kB / 0.5873 GB, free: 30.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007033/1.237, allocations: 42.94 kB / 0.5874 GB, free: 30.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/1.237, allocations: 68.81 kB / 0.5875 GB, free: 30.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.916e-05/1.237, allocations: 33.91 kB / 0.5875 GB, free: 30.28 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003088/1.24, allocations: 2.068 MB / 0.5895 GB, free: 30.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.24, allocations: 0 / 0.5895 GB, free: 30.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002077/1.242, allocations: 0.6674 MB / 0.5902 GB, free: 30.09 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) * Number of clocked states: 0 () * 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.001305/1.243, allocations: 0.8787 MB / 0.591 GB, free: 29.99 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001575/1.245, allocations: 0.8557 MB / 0.5919 GB, free: 29.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.245, allocations: 0 / 0.5919 GB, free: 29.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006673/1.246, allocations: 462.2 kB / 0.5923 GB, free: 29.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/1.247, allocations: 0.5256 MB / 0.5928 GB, free: 29.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007286/1.255, allocations: 5.138 MB / 0.5978 GB, free: 27.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/1.256, allocations: 1.785 MB / 0.5996 GB, free: 26.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001439/1.257, allocations: 383.3 kB / 0.5999 GB, free: 26.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/1.258, allocations: 166.7 kB / 0.6001 GB, free: 26.54 MB / 346.7 MB Notification: Performance of SimCode: time 1.373e-06/1.258, allocations: 0 / 0.6001 GB, free: 26.54 MB / 346.7 MB Notification: Performance of Templates: time 0.0607/1.318, allocations: 32.83 MB / 0.6322 GB, free: 12.59 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1)