Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.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.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters") translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001159/0.001159, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2197, allocations: 50.55 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02169/0.2414, allocations: 26.7 MB / 436.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02512/0.2665, allocations: 22.38 MB / 459 MB, free: 296 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003375/0.2699, allocations: 174.6 kB / 459.2 MB, free: 120 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003707/0.2737, allocations: 1.77 MB / 461 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009076/0.2828, allocations: 3.219 MB / 464.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004617/0.2874, allocations: 1.63 MB / 465.8 MB, free: 9.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0182/0.3056, allocations: 12.82 MB / 478.6 MB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.3072, allocations: 0.8552 MB / 479.5 MB, free: 11.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002908/0.3101, allocations: 2.111 MB / 481.6 MB, free: 9.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002254/0.3124, allocations: 2.1 MB / 483.7 MB, free: 7.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003501/0.3128, allocations: 132 kB / 483.8 MB, free: 7.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/0.3167, allocations: 1.545 MB / 485.4 MB, free: 5.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005587/0.3173, allocations: 0.601 MB / 486 MB, free: 5.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002466/0.3198, allocations: 2.628 MB / 488.6 MB, free: 2.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006896/0.3267, allocations: 6.626 MB / 495.2 MB, free: 11.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3267, allocations: 0 / 495.2 MB, free: 11.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3267, allocations: 3.938 kB / 495.2 MB, free: 11.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.149e-05/0.3268, allocations: 0 / 495.2 MB, free: 11.89 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.00882/0.3356, allocations: 6.674 MB / 0.4901 GB, free: 5.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3356, allocations: 8.031 kB / 0.4901 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007164/0.3363, allocations: 0.7448 MB / 0.4909 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006031/0.3424, allocations: 4.594 MB / 0.4954 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/0.3425, allocations: 69.98 kB / 0.4954 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.3427, allocations: 95.91 kB / 0.4955 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.3448, allocations: 1.301 MB / 0.4968 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.3448, allocations: 4 kB / 0.4968 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.345, allocations: 32 kB / 0.4968 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/0.345, allocations: 43.97 kB / 0.4969 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.3475, allocations: 1.484 MB / 0.4983 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008513/0.356, allocations: 5.62 MB / 0.5038 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.3577, allocations: 0.9851 MB / 0.5048 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.3594, allocations: 1.223 MB / 0.506 GB, free: 4.695 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2233/0.5827, allocations: 61.05 MB / 0.5656 GB, free: 103.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008427/0.5836, allocations: 0.5562 MB / 0.5661 GB, free: 102.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=85): time 2.945e-06/0.5836, allocations: 3.281 kB / 0.5661 GB, free: 102.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=85): time 0.002634/0.5862, allocations: 1.88 MB / 0.568 GB, free: 102.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.5863, allocations: 64.88 kB / 0.568 GB, free: 102.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004564/0.5908, allocations: 5.589 MB / 0.5735 GB, free: 97.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/0.5909, allocations: 37.7 kB / 0.5735 GB, free: 97.89 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001775/0.5927, allocations: 2.941 MB / 0.5764 GB, free: 94.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.5929, allocations: 294.1 kB / 0.5767 GB, free: 94.67 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000368/0.5933, allocations: 424.8 kB / 0.5771 GB, free: 94.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.27e-05/0.5933, allocations: 301.1 kB / 0.5774 GB, free: 93.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009274/0.5942, allocations: 407.3 kB / 0.5778 GB, free: 93.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009542/0.5952, allocations: 1.091 MB / 0.5788 GB, free: 92.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.5969, allocations: 1.603 MB / 0.5804 GB, free: 90.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/0.5969, allocations: 8 kB / 0.5804 GB, free: 90.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002808/0.5997, allocations: 2.213 MB / 0.5826 GB, free: 88.08 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.5997, allocations: 19.94 kB / 0.5826 GB, free: 88.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001663/0.5999, allocations: 159.8 kB / 0.5827 GB, free: 87.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.829e-05/0.6, allocations: 36 kB / 0.5828 GB, free: 87.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.601, allocations: 355.4 kB / 0.5831 GB, free: 87.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.486e-05/0.601, allocations: 47.84 kB / 0.5831 GB, free: 87.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.6025, allocations: 189.2 kB / 0.5833 GB, free: 87.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.6027, allocations: 124 kB / 0.5834 GB, free: 87.18 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 14 (vin.counter,$PRE.vin.counter,v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin.counter2,$PRE.vin.counter2,vin.T0,$PRE.vin.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009917/0.6037, allocations: 0.7159 MB / 0.5841 GB, free: 86.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004662/0.6041, allocations: 0.7172 MB / 0.5848 GB, free: 85.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003489/0.6076, allocations: 2.149 MB / 0.5869 GB, free: 83.65 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.6076, allocations: 3.984 kB / 0.5869 GB, free: 83.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001383/0.6078, allocations: 140 kB / 0.5871 GB, free: 83.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/0.609, allocations: 0.8228 MB / 0.5879 GB, free: 82.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000465/0.6095, allocations: 16 kB / 0.5879 GB, free: 82.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.6106, allocations: 35.95 kB / 0.5879 GB, free: 82.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/0.6108, allocations: 92.5 kB / 0.588 GB, free: 82.52 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002006/0.6128, allocations: 1.051 MB / 0.589 GB, free: 81.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002474/0.6153, allocations: 2.187 MB / 0.5912 GB, free: 79.27 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006277/0.6159, allocations: 388.8 kB / 0.5915 GB, free: 78.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00329/0.6192, allocations: 3.608 MB / 0.5951 GB, free: 75.3 MB / 462.1 MB Notification: Performance of Backend: time 5.21e-07/0.6192, allocations: 0 / 0.5951 GB, free: 75.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003676/0.6229, allocations: 2.379 MB / 0.5974 GB, free: 72.93 MB / 462.1 MB Notification: Performance of SimCode: time 0.01018/0.6331, allocations: 9.948 MB / 0.6071 GB, free: 62.89 MB / 462.1 MB Notification: Performance of Templates: time 0.07737/0.7105, allocations: 59.39 MB / 0.6651 GB, free: 3.711 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1)