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.001892/0.001892, allocations: 88.05 kB / 19.44 MB, free: 320 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 1.553/1.553, allocations: 177.1 MB / 199.7 MB, free: 5.824 MB / 186.7 MB " [Timeout remaining time 178] 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.002041/0.002041, allocations: 152.7 kB / 256.3 MB, free: 13.19 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.04014/0.04014, allocations: 6.662 MB / 319.4 MB, free: 26.56 MB / 266.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.943e-06/1.943e-06, allocations: 0 / 390.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.534e-05/3.728e-05, allocations: 2.312 kB / 390.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.0026/0.002637, allocations: 1.262 MB / 392.2 MB, free: 1.711 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001593/0.002796, allocations: 23.89 kB / 392.2 MB, free: 1.688 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.731e-05/0.002824, allocations: 0 / 392.2 MB, free: 1.688 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.00284, allocations: 0 / 392.2 MB, free: 1.688 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.867e-05/0.002899, allocations: 7.938 kB / 392.2 MB, free: 1.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001188/0.003018, allocations: 4 kB / 392.2 MB, free: 1.676 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.827e-05/0.003086, allocations: 15.86 kB / 392.2 MB, free: 1.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.003133, allocations: 4 kB / 392.2 MB, free: 1.656 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.625e-05/0.003189, allocations: 15.97 kB / 392.2 MB, free: 1.641 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.876e-05/0.003248, allocations: 4 kB / 392.2 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.003263, allocations: 0 / 392.2 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.996e-06/0.003272, allocations: 0 / 392.2 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.003287, allocations: 0 / 392.2 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.003313, allocations: 7.938 kB / 392.2 MB, free: 1.629 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.537e-05/0.003398, allocations: 11.92 kB / 392.3 MB, free: 1.617 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.003401, allocations: 4 kB / 392.3 MB, free: 1.613 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.003402, allocations: 0 / 392.3 MB, free: 1.613 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.003409, allocations: 0 / 392.3 MB, free: 1.613 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005288/0.003938, allocations: 352.4 kB / 392.6 MB, free: 1.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.003982, allocations: 8.031 kB / 392.6 MB, free: 1.223 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.004027, allocations: 4.891 kB / 392.6 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.004171, allocations: 108.6 kB / 392.7 MB, free: 1.086 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.004187, allocations: 8.312 kB / 392.7 MB, free: 1.078 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.004212, allocations: 4.375 kB / 392.7 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.004326, allocations: 34.25 kB / 392.8 MB, free: 1.035 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.004335, allocations: 4.188 kB / 392.8 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.004344, allocations: 384 / 392.8 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.004351, allocations: 4.375 kB / 392.8 MB, free: 1.027 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.807e-05/0.004399, allocations: 11.94 kB / 392.8 MB, free: 1.016 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.004596, allocations: 116.6 kB / 392.9 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.004702, allocations: 55.02 kB / 393 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.004736, allocations: 15.69 kB / 393 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.004748, allocations: 0 / 393 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.004784, allocations: 33.39 kB / 393 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.004784, allocations: 0 / 393 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001582/0.004943, allocations: 53.78 kB / 393.1 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.004994, allocations: 51.41 kB / 393.1 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.005119, allocations: 169.8 kB / 393.3 MB, free: 444 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.005141, allocations: 25.7 kB / 393.3 MB, free: 412 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.005233, allocations: 130.9 kB / 393.4 MB, free: 276 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.005267, allocations: 19.78 kB / 393.4 MB, free: 256 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.005303, allocations: 19.38 kB / 393.5 MB, free: 228 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002871/0.005591, allocations: 496.1 kB / 393.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.005612, allocations: 7.984 kB / 394 MB, free: 15.72 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.183e-05/0.005623, allocations: 4 kB / 394 MB, free: 15.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.318e-05/0.005667, allocations: 19.69 kB / 394 MB, free: 15.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005669, allocations: 4 kB / 394 MB, free: 15.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.276e-05/0.005751, allocations: 53.69 kB / 394 MB, free: 15.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.005765, allocations: 4 kB / 394 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.005769, allocations: 3.938 kB / 394 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.005782, allocations: 0 / 394 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.749e-05/0.005879, allocations: 11.98 kB / 394.1 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.005884, allocations: 0 / 394.1 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.005906, allocations: 7.891 kB / 394.1 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.005914, allocations: 7.984 kB / 394.1 MB, free: 15.59 MB / 330.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 0.0001152/0.006029, allocations: 152.6 kB / 394.2 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.006039, allocations: 8 kB / 394.2 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.006065, allocations: 7.688 kB / 394.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006067, allocations: 0 / 394.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.006071, allocations: 0 / 394.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.006076, allocations: 3.938 kB / 394.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.006211, allocations: 116.6 kB / 394.3 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006212, allocations: 0 / 394.3 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.846e-05/0.006281, allocations: 8 kB / 394.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.006282, allocations: 0 / 394.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.00629, allocations: 0 / 394.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.006291, allocations: 4 kB / 394.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.006292, allocations: 4 kB / 394.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.006448, allocations: 92.81 kB / 394.5 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.006463, allocations: 11.98 kB / 394.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.006477, allocations: 4 kB / 394.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.692e-05/0.006494, allocations: 0 / 394.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.006516, allocations: 4 kB / 394.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.006518, allocations: 0 / 394.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.51e-05/0.006593, allocations: 127.2 kB / 394.6 MB, free: 14.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006593, allocations: 0 / 394.6 MB, free: 14.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00018/0.006773, allocations: 11.88 kB / 394.6 MB, free: 14.98 MB / 330.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 0.0001045/0.006877, allocations: 95.28 kB / 394.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.805e-05/0.006975, allocations: 27.62 kB / 394.7 MB, free: 14.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006977, allocations: 0 / 394.7 MB, free: 14.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/0.007014, allocations: 15.67 kB / 394.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.007171, allocations: 8 kB / 394.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.007555, allocations: 150.2 kB / 394.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.47e-05/0.00762, allocations: 63.28 kB / 395 MB, free: 14.56 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.477e-05/0.007634, allocations: 4 kB / 395 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.00766, allocations: 8.5 kB / 395 MB, free: 14.55 MB / 330.7 MB Notification: Performance of SimCode: time 4.1e-07/0.007661, allocations: 0 / 395 MB, free: 14.55 MB / 330.7 MB Notification: Performance of Templates: time 0.003032/0.01069, allocations: 262.9 kB / 395.2 MB, free: 14.29 MB / 330.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: 4.740820687031373]