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.007797/0.007797, allocations: 166.4 kB / 15.11 MB, free: 5.977 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.282/1.282, allocations: 170.8 MB / 186.6 MB, free: 1.031 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.001668/0.001668, allocations: 125.2 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004106, allocations: 12 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.247, allocations: 38.77 MB / 312.9 MB, free: 38.8 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.3687, allocations: 94.06 MB / 406.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.369, allocations: 71.95 kB / 407 MB, free: 12.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4814/0.8504, allocations: 127.5 MB / 0.522 GB, free: 4.227 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.8505, allocations: 3.938 kB / 0.522 GB, free: 4.223 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.074e-05/0.8506, allocations: 44 kB / 0.5221 GB, free: 4.18 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.007435/0.858, allocations: 3.426 MB / 0.5254 GB, free: 0.6797 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/0.8581, allocations: 12.03 kB / 0.5254 GB, free: 0.668 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006352/0.8587, allocations: 399.1 kB / 0.5258 GB, free: 280 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004579/0.8633, allocations: 2.391 MB / 0.5281 GB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.8634, allocations: 37 kB / 0.5282 GB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.8635, allocations: 59.89 kB / 0.5282 GB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.8651, allocations: 0.8612 MB / 0.5291 GB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.8652, allocations: 0 / 0.5291 GB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/0.8653, allocations: 24 kB / 0.5291 GB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.683e-05/0.8653, allocations: 23.98 kB / 0.5291 GB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.867, allocations: 0.8554 MB / 0.53 GB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006783/0.8738, allocations: 3.175 MB / 0.5331 GB, free: 8.656 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.8751, allocations: 0.6259 MB / 0.5337 GB, free: 8.023 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.256/1.131, allocations: 36.02 MB / 0.5688 GB, free: 37.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008958/1.132, allocations: 391.8 kB / 0.5692 GB, free: 37.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 3.316e-06/1.132, allocations: 0 / 0.5692 GB, free: 37.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.002962/1.135, allocations: 1.472 MB / 0.5707 GB, free: 36.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.135, allocations: 270.2 kB / 0.5709 GB, free: 36.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003882/1.139, allocations: 2.555 MB / 0.5734 GB, free: 36.35 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.559e-05/1.139, allocations: 36.48 kB / 0.5734 GB, free: 36.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001146/1.14, allocations: 1.504 MB / 0.5749 GB, free: 36.1 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/1.14, allocations: 164.4 kB / 0.5751 GB, free: 36.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/1.141, allocations: 19.06 kB / 0.5751 GB, free: 36.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.612e-05/1.141, allocations: 342.1 kB / 0.5754 GB, free: 35.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005575/1.141, allocations: 262.9 kB / 0.5757 GB, free: 35.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008376/1.142, allocations: 0.6659 MB / 0.5763 GB, free: 35.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/1.143, allocations: 346.4 kB / 0.5766 GB, free: 35.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/1.143, allocations: 5.969 kB / 0.5766 GB, free: 35.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002457/1.145, allocations: 1.273 MB / 0.5779 GB, free: 34.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/1.145, allocations: 13.61 kB / 0.5779 GB, free: 34.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/1.145, allocations: 84.5 kB / 0.578 GB, free: 34.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.53e-05/1.145, allocations: 18.19 kB / 0.578 GB, free: 34.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007617/1.146, allocations: 212.8 kB / 0.5782 GB, free: 34.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.914e-05/1.146, allocations: 25.34 kB / 0.5782 GB, free: 34.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/1.148, allocations: 118.9 kB / 0.5783 GB, free: 34.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/1.148, allocations: 67.73 kB / 0.5784 GB, free: 34.94 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.0009602/1.149, allocations: 448.3 kB / 0.5788 GB, free: 34.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003303/1.149, allocations: 388.9 kB / 0.5792 GB, free: 34.63 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002936/1.152, allocations: 1.27 MB / 0.5804 GB, free: 34.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.152, allocations: 7.375 kB / 0.5805 GB, free: 34.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.152, allocations: 3.891 kB / 0.5805 GB, free: 34.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/1.152, allocations: 0 / 0.5805 GB, free: 34.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003801/1.156, allocations: 2.265 MB / 0.5827 GB, free: 34.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.353e-05/1.156, allocations: 66.36 kB / 0.5827 GB, free: 34.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004842/1.156, allocations: 103.5 kB / 0.5828 GB, free: 34.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/1.156, allocations: 6.719 kB / 0.5828 GB, free: 34.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.806e-05/1.157, allocations: 35.66 kB / 0.5829 GB, free: 34.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/1.157, allocations: 7.031 kB / 0.5829 GB, free: 34.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.157, allocations: 7.297 kB / 0.5829 GB, free: 34.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/1.159, allocations: 1.418 MB / 0.5843 GB, free: 33.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009553/1.16, allocations: 0.5469 MB / 0.5848 GB, free: 33.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/1.16, allocations: 15.78 kB / 0.5848 GB, free: 33.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006835/1.161, allocations: 46.36 kB / 0.5849 GB, free: 33.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/1.161, allocations: 61.91 kB / 0.5849 GB, free: 33.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.449e-05/1.161, allocations: 38.97 kB / 0.585 GB, free: 33.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00229/1.163, allocations: 1.961 MB / 0.5869 GB, free: 33.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.163, allocations: 0 / 0.5869 GB, free: 33.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001698/1.165, allocations: 0.6418 MB / 0.5875 GB, free: 33.16 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.001273/1.166, allocations: 0.8418 MB / 0.5883 GB, free: 33.06 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001544/1.168, allocations: 0.8515 MB / 0.5892 GB, free: 32.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.168, allocations: 3.656 kB / 0.5892 GB, free: 32.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006815/1.168, allocations: 460.2 kB / 0.5896 GB, free: 32.81 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/1.17, allocations: 0.4998 MB / 0.5901 GB, free: 32.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006094/1.176, allocations: 4.925 MB / 0.5949 GB, free: 30.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009477/1.177, allocations: 1.733 MB / 0.5966 GB, free: 29.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001322/1.178, allocations: 381.7 kB / 0.5969 GB, free: 29.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/1.179, allocations: 161.5 kB / 0.5971 GB, free: 29.72 MB / 346.7 MB Notification: Performance of SimCode: time 1.473e-06/1.179, allocations: 0 / 0.5971 GB, free: 29.72 MB / 346.7 MB Notification: Performance of Templates: time 0.05201/1.231, allocations: 31.26 MB / 0.6276 GB, free: 17.22 MB / 346.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)