Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009251/0.0009251, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9824/0.9824, allocations: 177.1 MB / 200 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 152.7 kB / 256.6 MB, free: 12.98 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02409/0.02409, allocations: 6.655 MB / 319.8 MB, free: 11.65 MB / 298.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 391.6 MB, free: 3.703 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.721e-05, allocations: 2.312 kB / 391.6 MB, free: 3.699 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002193/0.00221, allocations: 1.84 MB / 393.5 MB, free: 1.844 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006216/0.002832, allocations: 482.7 kB / 393.9 MB, free: 1.367 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.002896, allocations: 7.938 kB / 394 MB, free: 1.359 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.284e-05/0.002989, allocations: 15.86 kB / 394 MB, free: 1.344 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.741e-05/0.003046, allocations: 35.7 kB / 394 MB, free: 1.309 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.003168, allocations: 27.91 kB / 394 MB, free: 1.281 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.003298, allocations: 131.4 kB / 394.2 MB, free: 1.152 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.431e-05/0.003393, allocations: 33.22 kB / 394.2 MB, free: 1.121 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.959e-05/0.003462, allocations: 79.8 kB / 394.3 MB, free: 1.043 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.551e-05/0.003538, allocations: 31.91 kB / 394.3 MB, free: 1.012 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.003565, allocations: 8 kB / 394.3 MB, free: 1.004 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.003583, allocations: 12 kB / 394.3 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.003609, allocations: 31.91 kB / 394.4 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.003653, allocations: 35.86 kB / 394.4 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.003802, allocations: 83.72 kB / 394.5 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003805, allocations: 0 / 394.5 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.003806, allocations: 0 / 394.5 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.00381, allocations: 0 / 394.5 MB, free: 0.8438 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0003966/0.004207, allocations: 440.1 kB / 394.9 MB, free: 388 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.004243, allocations: 12.03 kB / 394.9 MB, free: 376 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.004295, allocations: 24.84 kB / 394.9 MB, free: 352 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.004442, allocations: 136.4 kB / 395.1 MB, free: 188 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.004453, allocations: 12.38 kB / 395.1 MB, free: 176 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.00448, allocations: 12.38 kB / 395.1 MB, free: 164 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.004614, allocations: 103.9 kB / 395.2 MB, free: 48 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.004621, allocations: 8.188 kB / 395.2 MB, free: 40 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.004633, allocations: 4.375 kB / 395.2 MB, free: 36 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.004643, allocations: 11.92 kB / 395.2 MB, free: 24 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.434e-05/0.004718, allocations: 39.91 kB / 395.3 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.005218, allocations: 465.7 kB / 395.7 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.253e-05/0.0053, allocations: 54.98 kB / 395.8 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.344e-05/0.005324, allocations: 11.69 kB / 395.8 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/0.00533, allocations: 4 kB / 395.8 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.005353, allocations: 37.33 kB / 395.8 MB, free: 15.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.005354, allocations: 0 / 395.8 MB, free: 15.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001378/0.005491, allocations: 57.73 kB / 395.9 MB, free: 15.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.005514, allocations: 55.39 kB / 395.9 MB, free: 15.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.652e-05/0.005601, allocations: 181.9 kB / 396.1 MB, free: 15.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.005612, allocations: 37.64 kB / 396.1 MB, free: 14.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.005671, allocations: 170.5 kB / 396.3 MB, free: 14.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.368e-06/0.00568, allocations: 11.91 kB / 396.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.00571, allocations: 27.38 kB / 396.3 MB, free: 14.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.005807, allocations: 0.4884 MB / 396.8 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.005825, allocations: 4 kB / 396.8 MB, free: 14.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.966e-05/0.005854, allocations: 39.05 kB / 396.9 MB, free: 14.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.583e-05/0.0059, allocations: 47 kB / 396.9 MB, free: 14.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.005902, allocations: 0 / 396.9 MB, free: 14.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.736e-05/0.005979, allocations: 85.52 kB / 397 MB, free: 14.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.005992, allocations: 7.938 kB / 397 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.005998, allocations: 4 kB / 397 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.006013, allocations: 3.984 kB / 397 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.996e-05/0.006083, allocations: 12 kB / 397 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.006088, allocations: 0 / 397 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.213e-05/0.00611, allocations: 7.938 kB / 397 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.006114, allocations: 0 / 397 MB, free: 14.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 5.852e-05/0.006173, allocations: 160.6 kB / 397.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.00619, allocations: 15.95 kB / 397.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.006214, allocations: 11.98 kB / 397.2 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.006215, allocations: 7.938 kB / 397.2 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.006219, allocations: 0 / 397.2 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.006221, allocations: 0 / 397.2 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.845e-05/0.006319, allocations: 140.6 kB / 397.4 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.00632, allocations: 0 / 397.4 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.006359, allocations: 8.062 kB / 397.4 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.006361, allocations: 4 kB / 397.4 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.00637, allocations: 7.938 kB / 397.4 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.00637, allocations: 0 / 397.4 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006371, allocations: 4 kB / 397.4 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.006499, allocations: 207.9 kB / 397.6 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.00651, allocations: 7.953 kB / 397.6 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.006523, allocations: 7.938 kB / 397.6 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.083e-05/0.006563, allocations: 4 kB / 397.6 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.006578, allocations: 8.156 kB / 397.6 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.00658, allocations: 0 / 397.6 MB, free: 13.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.383e-05/0.006624, allocations: 139.7 kB / 397.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006624, allocations: 0 / 397.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001485/0.006773, allocations: 27.89 kB / 397.8 MB, free: 13.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.804e-05/0.006831, allocations: 95.28 kB / 397.9 MB, free: 13.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.989e-05/0.00691, allocations: 35.66 kB / 397.9 MB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.006912, allocations: 3.938 kB / 397.9 MB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.45e-05/0.006926, allocations: 23.67 kB / 397.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.0071, allocations: 4.156 kB / 397.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.007624, allocations: 253.6 kB / 398.2 MB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.4e-05/0.007658, allocations: 67.28 kB / 398.3 MB, free: 12.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.593e-05/0.007684, allocations: 11.77 kB / 398.3 MB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.007709, allocations: 16.5 kB / 398.3 MB, free: 12.64 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.007709, allocations: 0 / 398.3 MB, free: 12.64 MB / 378.7 MB Notification: Performance of Templates: time 0.002118/0.009827, allocations: 0.6286 MB / 398.9 MB, free: 12.02 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.999524731654674]