Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical3.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.001239/0.001239, allocations: 69.11 kB / 20.65 MB, free: 3.848 MB / 18.57 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 1.025/1.025, allocations: 177.1 MB / 201 MB, free: 5.336 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.001237/0.001237, allocations: 155.4 kB / 257.7 MB, free: 12.83 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.02448/0.02448, allocations: 6.661 MB / 320.9 MB, free: 11.45 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.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") translateModel(HanserModelica.FirstSteps.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 392.9 MB, free: 3.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/2e-05, allocations: 5.828 kB / 392.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.001546/0.001566, allocations: 1.27 MB / 394.1 MB, free: 2.086 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001224/0.001689, allocations: 15.91 kB / 394.2 MB, free: 2.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.001716, allocations: 0 / 394.2 MB, free: 2.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.001736, allocations: 3.984 kB / 394.2 MB, free: 2.066 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.243e-05/0.001788, allocations: 3.938 kB / 394.2 MB, free: 2.062 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001052/0.001894, allocations: 11.94 kB / 394.2 MB, free: 2.051 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.111e-05/0.001945, allocations: 11.92 kB / 394.2 MB, free: 2.039 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.001985, allocations: 7.938 kB / 394.2 MB, free: 2.031 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.002021, allocations: 11.94 kB / 394.2 MB, free: 2.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/0.002073, allocations: 15.97 kB / 394.2 MB, free: 2.004 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.002086, allocations: 0 / 394.2 MB, free: 2.004 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.262e-06/0.002093, allocations: 0 / 394.2 MB, free: 2.004 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.002106, allocations: 0 / 394.2 MB, free: 2.004 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.476e-05/0.00212, allocations: 8 kB / 394.2 MB, free: 1.996 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 4.855e-05/0.002169, allocations: 7.984 kB / 394.2 MB, free: 1.988 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.002171, allocations: 0 / 394.2 MB, free: 1.988 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.002171, allocations: 3.938 kB / 394.2 MB, free: 1.984 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.002175, allocations: 0 / 394.2 MB, free: 1.984 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002326/0.002407, allocations: 360.6 kB / 394.6 MB, free: 1.594 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.002437, allocations: 12.03 kB / 394.6 MB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.852e-05/0.002455, allocations: 0.9375 kB / 394.6 MB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.413e-05/0.002519, allocations: 108.6 kB / 394.7 MB, free: 1.449 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.002527, allocations: 384 / 394.7 MB, free: 1.449 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.002542, allocations: 4.375 kB / 394.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.847e-05/0.002591, allocations: 34.25 kB / 394.7 MB, free: 1.406 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-06/0.002595, allocations: 192 / 394.7 MB, free: 1.406 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.002601, allocations: 4.375 kB / 394.8 MB, free: 1.402 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.002604, allocations: 384 / 394.8 MB, free: 1.402 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.548e-05/0.00262, allocations: 11.88 kB / 394.8 MB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.069e-05/0.00271, allocations: 93.27 kB / 394.9 MB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.912e-05/0.00276, allocations: 43.09 kB / 394.9 MB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.539e-05/0.002775, allocations: 11.69 kB / 394.9 MB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-06/0.002781, allocations: 4 kB / 394.9 MB, free: 1.199 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.002798, allocations: 37.47 kB / 394.9 MB, free: 1.152 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.0028, allocations: 3.984 kB / 395 MB, free: 1.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 8.338e-05/0.002883, allocations: 49.59 kB / 395 MB, free: 1.094 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.002905, allocations: 55.39 kB / 395.1 MB, free: 1.027 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.514e-05/0.002961, allocations: 157.9 kB / 395.2 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.002969, allocations: 25.7 kB / 395.2 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.95e-05/0.002998, allocations: 126.9 kB / 395.4 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.003019, allocations: 15.89 kB / 395.4 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.003043, allocations: 31.34 kB / 395.4 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.683e-05/0.00314, allocations: 496.1 kB / 395.9 MB, free: 148 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-06/0.003148, allocations: 4 kB / 395.9 MB, free: 144 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-06/0.003153, allocations: 0 / 395.9 MB, free: 144 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.628e-05/0.003179, allocations: 23.61 kB / 395.9 MB, free: 116 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.003181, allocations: 0 / 395.9 MB, free: 116 kB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.261e-05/0.003223, allocations: 45.66 kB / 396 MB, free: 64 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.003233, allocations: 7.984 kB / 396 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.003237, allocations: 0 / 396 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-06/0.003245, allocations: 4 kB / 396 MB, free: 52 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/0.003302, allocations: 8 kB / 396 MB, free: 44 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.003305, allocations: 3.938 kB / 396 MB, free: 40 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.046e-05/0.003315, allocations: 0 / 396 MB, free: 40 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.003319, allocations: 7.938 kB / 396 MB, free: 32 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 6.014e-05/0.003379, allocations: 152.6 kB / 396.1 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-06/0.003387, allocations: 11.94 kB / 396.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.439e-05/0.003401, allocations: 3.688 kB / 396.2 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.003404, allocations: 3.984 kB / 396.2 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.003407, allocations: 4 kB / 396.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.003409, allocations: 4 kB / 396.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.301e-05/0.003462, allocations: 101.2 kB / 396.3 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.003462, allocations: 0 / 396.3 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.003496, allocations: 12 kB / 396.3 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.003497, allocations: 0 / 396.3 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.003505, allocations: 3.984 kB / 396.3 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.003505, allocations: 0 / 396.3 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.003508, allocations: 7.984 kB / 396.3 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.825e-05/0.003587, allocations: 80.33 kB / 396.4 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-06/0.003595, allocations: 8.562 kB / 396.4 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-06/0.003602, allocations: 0 / 396.4 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-06/0.003609, allocations: 4.031 kB / 396.4 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-06/0.003618, allocations: 3.938 kB / 396.4 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.00362, allocations: 3.984 kB / 396.4 MB, free: 15.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.409e-05/0.003654, allocations: 127.2 kB / 396.5 MB, free: 15.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.003654, allocations: 0 / 396.5 MB, free: 15.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001092/0.003763, allocations: 4 kB / 396.5 MB, free: 15.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (3): * Single equations (assignments): 3 * 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.193e-05/0.003825, allocations: 91.25 kB / 396.6 MB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.391e-05/0.003879, allocations: 23.67 kB / 396.6 MB, free: 15.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.00388, allocations: 0 / 396.6 MB, free: 15.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-05/0.003892, allocations: 23.62 kB / 396.7 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.913e-05/0.003982, allocations: 7.062 kB / 396.7 MB, free: 15.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002166/0.004198, allocations: 154.3 kB / 396.8 MB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.226e-05/0.00422, allocations: 55.36 kB / 396.9 MB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.046e-05/0.004231, allocations: 4 kB / 396.9 MB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.004259, allocations: 70.2 kB / 396.9 MB, free: 14.95 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.00426, allocations: 0 / 396.9 MB, free: 14.95 MB / 378.7 MB Notification: Performance of Templates: time 0.001428/0.005687, allocations: 294.6 kB / 397.2 MB, free: 14.67 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical3.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.885315129067749]