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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.3 MB / 239.4 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 184.5 kB / 290.6 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03292/0.03292, allocations: 8.802 MB / 350.5 MB, free: 4.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003572, allocations: 9.531 kB / 413.8 MB, free: 42.71 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09482/0.0952, allocations: 52.56 MB / 466.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.001954/0.09719, allocations: 1.519 MB / 467.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007763/0.09798, allocations: 446.9 kB / 468.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.0981, allocations: 4 kB / 468.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.09823, allocations: 11.92 kB / 468.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.803e-05/0.09832, allocations: 35.75 kB / 468.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.09848, allocations: 19.98 kB / 468.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.09866, allocations: 115.4 kB / 468.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.09885, allocations: 45.19 kB / 468.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.459e-05/0.09891, allocations: 35.86 kB / 468.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.161e-05/0.09901, allocations: 43.78 kB / 468.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.09905, allocations: 4 kB / 468.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.081e-05/0.09907, allocations: 8 kB / 468.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.0991, allocations: 15.92 kB / 468.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.937e-05/0.09919, allocations: 81.38 kB / 468.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.09936, allocations: 111.8 kB / 468.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.09937, allocations: 0 / 468.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.09938, allocations: 0 / 468.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.09939, allocations: 0 / 468.8 MB, free: 10.6 MB / 302.1 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.0005604/0.09996, allocations: 399.2 kB / 469.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.1, allocations: 8.031 kB / 469.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.1001, allocations: 16.75 kB / 469.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.1003, allocations: 200 kB / 469.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1003, allocations: 8.375 kB / 469.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.1004, allocations: 8.375 kB / 469.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.1006, allocations: 110.8 kB / 469.6 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1006, allocations: 4 kB / 469.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.1006, allocations: 7.938 kB / 469.6 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1006, allocations: 4 kB / 469.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.1008, allocations: 59.97 kB / 469.7 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007993/0.1016, allocations: 0.502 MB / 470.2 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.911e-05/0.1017, allocations: 42.58 kB / 470.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.1017, allocations: 20.94 kB / 470.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.1017, allocations: 0 / 470.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1018, allocations: 34.56 kB / 470.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.1018, allocations: 0 / 470.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001719/0.1019, allocations: 65.53 kB / 470.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.102, allocations: 51.41 kB / 470.4 MB, free: 8.887 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1021, allocations: 141.8 kB / 470.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1021, allocations: 25.7 kB / 470.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.1022, allocations: 120 kB / 470.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.1022, allocations: 15.75 kB / 470.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.1023, allocations: 17.72 kB / 470.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1024, allocations: 322.8 kB / 471 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.1024, allocations: 12 kB / 471 MB, free: 8.211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-05/0.1025, allocations: 38.55 kB / 471 MB, free: 8.164 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.921e-05/0.1025, allocations: 46.52 kB / 471.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1025, allocations: 4 kB / 471.1 MB, free: 8.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001092/0.1027, allocations: 81.53 kB / 471.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1027, allocations: 6.031 kB / 471.2 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1027, allocations: 0 / 471.2 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1027, allocations: 4 kB / 471.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.189e-05/0.1028, allocations: 15.98 kB / 471.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.1028, allocations: 0 / 471.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.1029, allocations: 15.84 kB / 471.2 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.1029, allocations: 0 / 471.2 MB, free: 7.98 MB / 302.1 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 9.632e-05/0.103, allocations: 133.7 kB / 471.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.103, allocations: 7.906 kB / 471.4 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.103, allocations: 16.23 kB / 471.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.103, allocations: 0 / 471.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1031, allocations: 0 / 471.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.1031, allocations: 3.938 kB / 471.4 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.1033, allocations: 197.6 kB / 471.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1033, allocations: 3.938 kB / 471.6 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.178e-05/0.1033, allocations: 11.98 kB / 471.6 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1033, allocations: 4 kB / 471.6 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1034, allocations: 4 kB / 471.6 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1034, allocations: 0 / 471.6 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1034, allocations: 0 / 471.6 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.1036, allocations: 167.3 kB / 471.8 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.1036, allocations: 89.17 kB / 471.8 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.1036, allocations: 4.031 kB / 471.8 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-05/0.1037, allocations: 4 kB / 471.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.1037, allocations: 8.047 kB / 471.9 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.1037, allocations: 0 / 471.9 MB, free: 7.242 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.181e-05/0.1038, allocations: 111.2 kB / 472 MB, free: 7.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1038, allocations: 4 kB / 472 MB, free: 7.129 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.1041, allocations: 16 kB / 472 MB, free: 7.113 MB / 302.1 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 0.0001029/0.1042, allocations: 95.78 kB / 472.1 MB, free: 7.012 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.908e-05/0.1043, allocations: 31.92 kB / 472.1 MB, free: 6.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1043, allocations: 4.125 kB / 472.1 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.881e-05/0.1043, allocations: 12 kB / 472.1 MB, free: 6.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.1046, allocations: 18.33 kB / 472.1 MB, free: 6.949 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.1052, allocations: 351.6 kB / 472.5 MB, free: 6.582 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.1055, allocations: 0.7005 MB / 473.2 MB, free: 5.855 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.825e-05/0.1055, allocations: 8.656 kB / 473.2 MB, free: 5.848 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.1055, allocations: 11.44 kB / 473.2 MB, free: 5.836 MB / 302.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1055, allocations: 0 / 473.2 MB, free: 5.836 MB / 302.1 MB Notification: Performance of Templates: time 0.002696/0.1082, allocations: 0.6661 MB / 473.9 MB, free: 5.176 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) Environment - environmentSimulation: