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.0008006/0.0008006, 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.8925/0.8925, allocations: 177.1 MB / 200 MB, free: 3.977 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.001466/0.001466, allocations: 170.3 kB / 256.6 MB, free: 176 kB / 234.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.02468/0.02468, allocations: 6.662 MB / 319.8 MB, free: 1.145 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.843e-06/1.843e-06, allocations: 0 / 391.6 MB, free: 58.27 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.942e-05, allocations: 6.906 kB / 391.6 MB, free: 58.27 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.005379/0.005399, allocations: 1.864 MB / 393.5 MB, free: 56.4 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006739/0.006073, allocations: 489.8 kB / 394 MB, free: 55.92 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.671e-05/0.006149, allocations: 4 kB / 394 MB, free: 55.92 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.006267, allocations: 15.84 kB / 394 MB, free: 55.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.228e-05/0.006339, allocations: 35.66 kB / 394 MB, free: 55.87 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.006477, allocations: 31.89 kB / 394.1 MB, free: 55.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.006626, allocations: 127.4 kB / 394.2 MB, free: 55.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.006745, allocations: 29.28 kB / 394.2 MB, free: 55.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.123e-05/0.006827, allocations: 71.83 kB / 394.3 MB, free: 55.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.423e-05/0.006911, allocations: 39.88 kB / 394.3 MB, free: 55.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.006937, allocations: 8 kB / 394.3 MB, free: 55.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.865e-05/0.006956, allocations: 12 kB / 394.3 MB, free: 55.55 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.006979, allocations: 19.92 kB / 394.4 MB, free: 55.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.007021, allocations: 43.84 kB / 394.4 MB, free: 55.49 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.007157, allocations: 79.73 kB / 394.5 MB, free: 55.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.007159, allocations: 0 / 394.5 MB, free: 55.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.00716, allocations: 4 kB / 394.5 MB, free: 55.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.007164, allocations: 0 / 394.5 MB, free: 55.41 MB / 314.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.003419/0.01058, allocations: 436.2 kB / 394.9 MB, free: 54.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.01062, allocations: 15.92 kB / 394.9 MB, free: 54.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.01068, allocations: 20.89 kB / 394.9 MB, free: 54.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.01083, allocations: 140.5 kB / 395.1 MB, free: 54.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.01084, allocations: 8.375 kB / 395.1 MB, free: 54.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.01087, allocations: 12.38 kB / 395.1 MB, free: 54.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.01103, allocations: 107.9 kB / 395.2 MB, free: 54.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.01103, allocations: 4.188 kB / 395.2 MB, free: 54.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.01105, allocations: 8.375 kB / 395.2 MB, free: 54.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.01106, allocations: 3.938 kB / 395.2 MB, free: 54.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.937e-05/0.01114, allocations: 36.62 kB / 395.3 MB, free: 54.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.01171, allocations: 465.7 kB / 395.7 MB, free: 54.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.327e-05/0.01181, allocations: 54.98 kB / 395.8 MB, free: 53.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.915e-05/0.01183, allocations: 19.77 kB / 395.8 MB, free: 53.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.01184, allocations: 0 / 395.8 MB, free: 53.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.01186, allocations: 41.33 kB / 395.8 MB, free: 53.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.01186, allocations: 0 / 395.8 MB, free: 53.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001556/0.01202, allocations: 61.58 kB / 395.9 MB, free: 53.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.01204, allocations: 51.41 kB / 395.9 MB, free: 53.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.442e-05/0.01212, allocations: 185.9 kB / 396.1 MB, free: 53.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.01213, allocations: 29.7 kB / 396.1 MB, free: 53.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.01218, allocations: 162.5 kB / 396.3 MB, free: 53.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.01219, allocations: 27.81 kB / 396.3 MB, free: 53.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.01222, allocations: 23.38 kB / 396.4 MB, free: 53.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.206e-05/0.01226, allocations: 0.4923 MB / 396.8 MB, free: 52.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.01228, allocations: 7.984 kB / 396.9 MB, free: 52.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.123e-05/0.01231, allocations: 35.06 kB / 396.9 MB, free: 52.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.265e-05/0.01237, allocations: 54.98 kB / 396.9 MB, free: 52.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01237, allocations: 0 / 396.9 MB, free: 52.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.088e-05/0.01246, allocations: 81.52 kB / 397 MB, free: 52.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.01247, allocations: 7.938 kB / 397 MB, free: 52.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.01248, allocations: 0 / 397 MB, free: 52.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.01249, allocations: 8.062 kB / 397 MB, free: 52.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.551e-05/0.01258, allocations: 12 kB / 397 MB, free: 52.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.01258, allocations: 3.984 kB / 397 MB, free: 52.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.458e-05/0.01262, allocations: 7.953 kB / 397.1 MB, free: 52.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.01262, allocations: 0 / 397.1 MB, free: 52.58 MB / 314.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.088e-05/0.01267, allocations: 164.5 kB / 397.2 MB, free: 52.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.0127, allocations: 7.938 kB / 397.2 MB, free: 52.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.01272, allocations: 8 kB / 397.2 MB, free: 52.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.01272, allocations: 0 / 397.2 MB, free: 52.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01273, allocations: 0 / 397.2 MB, free: 52.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01273, allocations: 8 kB / 397.2 MB, free: 52.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.01284, allocations: 136.6 kB / 397.4 MB, free: 52.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01284, allocations: 0 / 397.4 MB, free: 52.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-05/0.0129, allocations: 15.98 kB / 397.4 MB, free: 52.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.0129, allocations: 0 / 397.4 MB, free: 52.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.01291, allocations: 7.938 kB / 397.4 MB, free: 52.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.01291, allocations: 0 / 397.4 MB, free: 52.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01291, allocations: 0 / 397.4 MB, free: 52.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.01302, allocations: 203.9 kB / 397.6 MB, free: 51.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.01303, allocations: 7.938 kB / 397.6 MB, free: 51.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.01305, allocations: 15.97 kB / 397.6 MB, free: 51.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.01312, allocations: 0 / 397.6 MB, free: 51.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.01313, allocations: 4.062 kB / 397.6 MB, free: 51.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.01314, allocations: 4.234 kB / 397.6 MB, free: 51.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.746e-05/0.01317, allocations: 139.2 kB / 397.8 MB, free: 51.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01317, allocations: 0 / 397.8 MB, free: 51.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003275/0.01645, allocations: 23.89 kB / 397.8 MB, free: 51.79 MB / 314.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 6.065e-05/0.01651, allocations: 95.23 kB / 397.9 MB, free: 51.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.522e-05/0.0166, allocations: 39.67 kB / 397.9 MB, free: 51.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01661, allocations: 4.062 kB / 397.9 MB, free: 51.63 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.754e-05/0.01662, allocations: 23.67 kB / 397.9 MB, free: 51.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.01688, allocations: 4 kB / 398 MB, free: 51.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005899/0.01747, allocations: 265.5 kB / 398.2 MB, free: 51.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.271e-05/0.0175, allocations: 67.28 kB / 398.3 MB, free: 51.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.002e-05/0.01753, allocations: 0 / 398.3 MB, free: 51.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.01756, allocations: 12.5 kB / 398.3 MB, free: 51.22 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01756, allocations: 0 / 398.3 MB, free: 51.22 MB / 314.7 MB Notification: Performance of Templates: time 0.003517/0.02108, allocations: 0.6454 MB / 398.9 MB, free: 50.59 MB / 314.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.723004932049662]