Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1") translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001133/0.001133, allocations: 181.9 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.536/1.536, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001656/0.001656, allocations: 112.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.252e-05, allocations: 4 kB / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09178/0.09183, allocations: 44.5 MB / 349.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3265/0.4184, allocations: 72.54 MB / 422 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.4187, allocations: 62.39 kB / 422 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007271/0.426, allocations: 2.649 MB / 424.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.426, allocations: 0 / 424.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.426, allocations: 11.44 kB / 424.7 MB, free: 10.51 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005709/0.4266, allocations: 479.1 kB / 425.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.4267, allocations: 7.875 kB / 425.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.575e-05/0.4267, allocations: 23.25 kB / 425.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.427, allocations: 234.3 kB / 425.4 MB, free: 9.891 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.427, allocations: 11.97 kB / 425.4 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.427, allocations: 14.25 kB / 425.4 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.4273, allocations: 180.2 kB / 425.6 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.4273, allocations: 3.938 kB / 425.6 MB, free: 9.816 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.4273, allocations: 6.969 kB / 425.6 MB, free: 9.816 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.4274, allocations: 7.812 kB / 425.6 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.4275, allocations: 124.2 kB / 425.8 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008863/0.4284, allocations: 0.7833 MB / 426.5 MB, free: 9.184 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.4287, allocations: 148.1 kB / 426.7 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.856e-05/0.4287, allocations: 63.86 kB / 426.8 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.4288, allocations: 3.875 kB / 426.8 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.429, allocations: 143.2 kB / 426.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.429, allocations: 7.938 kB / 426.9 MB, free: 8.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002793/0.4293, allocations: 167.7 kB / 427.1 MB, free: 8.934 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.4293, allocations: 80.86 kB / 427.1 MB, free: 8.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.4294, allocations: 184.3 kB / 427.3 MB, free: 8.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.4295, allocations: 28.7 kB / 427.4 MB, free: 8.695 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.4295, allocations: 142 kB / 427.5 MB, free: 8.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.4296, allocations: 42.27 kB / 427.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-06/0.4296, allocations: 3.75 kB / 427.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.999e-05/0.4296, allocations: 329.7 kB / 427.9 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/0.4297, allocations: 58.11 kB / 427.9 MB, free: 8.234 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.367e-05/0.4298, allocations: 110 kB / 428 MB, free: 8.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.419e-05/0.4299, allocations: 74.64 kB / 428.1 MB, free: 8.141 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4299, allocations: 0 / 428.1 MB, free: 8.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002525/0.4302, allocations: 213.1 kB / 428.3 MB, free: 8.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.4302, allocations: 3.844 kB / 428.3 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.4302, allocations: 3.844 kB / 428.3 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4302, allocations: 11.98 kB / 428.3 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.4304, allocations: 38.92 kB / 428.4 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.4304, allocations: 3.984 kB / 428.4 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.4306, allocations: 31.17 kB / 428.4 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.4306, allocations: 10.72 kB / 428.4 MB, free: 8.039 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.multiSwitch.u[1],$PRE.multiSwitch.u[2],$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 6.292e-05/0.4307, allocations: 126.6 kB / 428.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.4307, allocations: 26.88 kB / 428.6 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.431, allocations: 185.2 kB / 428.7 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.431, allocations: 3.844 kB / 428.7 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.431, allocations: 3.953 kB / 428.7 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.431, allocations: 0 / 428.7 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.4312, allocations: 269.3 kB / 429 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4313, allocations: 0 / 429 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.4314, allocations: 23.17 kB / 429 MB, free: 7.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4314, allocations: 4 kB / 429 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.4314, allocations: 7.422 kB / 429 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.4314, allocations: 7.906 kB / 429 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4314, allocations: 0 / 429 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.4317, allocations: 212.3 kB / 429.3 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.4317, allocations: 96.48 kB / 429.4 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.4317, allocations: 7.5 kB / 429.4 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.4319, allocations: 23.16 kB / 429.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.4319, allocations: 23.11 kB / 429.4 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.432, allocations: 7.875 kB / 429.4 MB, free: 7.336 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.812e-05/0.432, allocations: 141.2 kB / 429.5 MB, free: 7.254 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.432, allocations: 0 / 429.5 MB, free: 7.254 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002185/0.4323, allocations: 42.34 kB / 429.6 MB, free: 7.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanPulse1.pulsStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001223/0.4324, allocations: 101 kB / 429.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.4326, allocations: 153.3 kB / 429.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4326, allocations: 0 / 429.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.825e-05/0.4327, allocations: 68.08 kB / 429.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.433, allocations: 40.36 kB / 429.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.4334, allocations: 262.4 kB / 430.2 MB, free: 6.973 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.4336, allocations: 0.738 MB / 430.9 MB, free: 6.242 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.4337, allocations: 40.45 kB / 431 MB, free: 6.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.4337, allocations: 15.16 kB / 431 MB, free: 6.219 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.4337, allocations: 0 / 431 MB, free: 6.219 MB / 298.7 MB Notification: Performance of Templates: time 0.003843/0.4376, allocations: 1.831 MB / 432.8 MB, free: 5.309 MB / 298.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.pipe 2>&1)