Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.Coupling.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.0009077/0.0009077, allocations: 80.75 kB / 19.94 MB, free: 4.547 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 0.8944/0.8944, allocations: 177.2 MB / 200.3 MB, free: 5.676 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.001394/0.001394, allocations: 156.6 kB / 257 MB, free: 12.96 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.03206/0.03206, allocations: 6.653 MB / 266.9 MB, free: 3.223 MB / 250.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.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") translateModel(HanserModelica.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 285.6 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021e-05/1.141e-05, allocations: 2.312 kB / 285.6 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.09781/0.09783, allocations: 2.537 MB / 288.2 MB, free: 21.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009382/0.09876, allocations: 0.6321 MB / 288.8 MB, free: 20.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.607e-05/0.09886, allocations: 5.031 kB / 288.8 MB, free: 20.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.09898, allocations: 38.11 kB / 288.8 MB, free: 20.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.0991, allocations: 65.11 kB / 288.9 MB, free: 20.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.09932, allocations: 73.55 kB / 289 MB, free: 20.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.09953, allocations: 273.3 kB / 289.2 MB, free: 20.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.09965, allocations: 70.02 kB / 289.3 MB, free: 20.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.0998, allocations: 151 kB / 289.5 MB, free: 20.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.09993, allocations: 90.83 kB / 289.5 MB, free: 20.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.09996, allocations: 23.25 kB / 289.6 MB, free: 20.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.753e-05/0.09999, allocations: 22.53 kB / 289.6 MB, free: 20.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.422e-05/0.1, allocations: 48.05 kB / 289.6 MB, free: 20.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.1001, allocations: 88.12 kB / 289.7 MB, free: 20.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.1003, allocations: 180.3 kB / 289.9 MB, free: 20.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1003, allocations: 2.938 kB / 289.9 MB, free: 20.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1003, allocations: 0 / 289.9 MB, free: 20.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1003, allocations: 0.7812 kB / 289.9 MB, free: 20.44 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0004572/0.1008, allocations: 443.1 kB / 290.3 MB, free: 20.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.1008, allocations: 10.48 kB / 290.3 MB, free: 20.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.1008, allocations: 37.05 kB / 290.4 MB, free: 20.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.101, allocations: 151.3 kB / 290.5 MB, free: 19.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.101, allocations: 21.25 kB / 290.5 MB, free: 19.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.101, allocations: 24.3 kB / 290.6 MB, free: 19.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.1013, allocations: 224.2 kB / 290.8 MB, free: 19.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1013, allocations: 9.703 kB / 290.8 MB, free: 19.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1013, allocations: 6.344 kB / 290.8 MB, free: 19.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1013, allocations: 5.25 kB / 290.8 MB, free: 19.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/0.1014, allocations: 61.45 kB / 290.9 MB, free: 19.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.1019, allocations: 0.6112 MB / 291.5 MB, free: 19.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.102, allocations: 84.11 kB / 291.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.1021, allocations: 24.59 kB / 291.6 MB, free: 19.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.1021, allocations: 2.281 kB / 291.6 MB, free: 19.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.1021, allocations: 42.28 kB / 291.6 MB, free: 19.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 8.52e-07/0.1021, allocations: 3.938 kB / 291.6 MB, free: 19.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005206/0.1026, allocations: 338.8 kB / 292 MB, free: 19.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.649e-05/0.1026, allocations: 54.78 kB / 292 MB, free: 18.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.462e-05/0.1027, allocations: 166.2 kB / 292.2 MB, free: 18.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.653e-06/0.1027, allocations: 26.7 kB / 292.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.1027, allocations: 167.7 kB / 292.4 MB, free: 18.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.1028, allocations: 49.41 kB / 292.4 MB, free: 18.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.1028, allocations: 39.77 kB / 292.5 MB, free: 18.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.953e-05/0.1028, allocations: 332 kB / 292.8 MB, free: 18.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.1029, allocations: 18.58 kB / 292.8 MB, free: 18.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.87e-05/0.1029, allocations: 69.77 kB / 292.9 MB, free: 18.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.103, allocations: 102.1 kB / 293 MB, free: 18.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.103, allocations: 1.375 kB / 293 MB, free: 18.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001181/0.1031, allocations: 123 kB / 293.1 MB, free: 18.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.1031, allocations: 6.094 kB / 293.1 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1031, allocations: 4.141 kB / 293.1 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1031, allocations: 2.188 kB / 293.1 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1032, allocations: 52.52 kB / 293.2 MB, free: 18.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.1032, allocations: 3.656 kB / 293.2 MB, free: 18.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.1033, allocations: 8.109 kB / 293.2 MB, free: 18.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.1033, allocations: 8.75 kB / 293.2 MB, free: 18.08 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 4.592e-05/0.1033, allocations: 117.9 kB / 293.3 MB, free: 17.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.1034, allocations: 20.47 kB / 293.3 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.1034, allocations: 18.09 kB / 293.3 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1034, allocations: 1.312 kB / 293.3 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1034, allocations: 2.125 kB / 293.3 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1034, allocations: 0 / 293.3 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.1035, allocations: 123.1 kB / 293.4 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1035, allocations: 3.812 kB / 293.5 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-05/0.1036, allocations: 40.2 kB / 293.5 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1036, allocations: 1.797 kB / 293.5 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.1036, allocations: 4.781 kB / 293.5 MB, free: 17.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1036, allocations: 1.766 kB / 293.5 MB, free: 17.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1036, allocations: 2.844 kB / 293.5 MB, free: 17.83 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.1037, allocations: 204.3 kB / 293.7 MB, free: 17.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.1038, allocations: 19.47 kB / 293.7 MB, free: 17.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.1038, allocations: 8.578 kB / 293.7 MB, free: 17.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.424e-05/0.1038, allocations: 9.656 kB / 293.7 MB, free: 17.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.1039, allocations: 13.05 kB / 293.8 MB, free: 17.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1039, allocations: 6.812 kB / 293.8 MB, free: 17.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.333e-05/0.1039, allocations: 42.55 kB / 293.8 MB, free: 17.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1039, allocations: 1.25 kB / 293.8 MB, free: 17.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001533/0.1041, allocations: 39.56 kB / 293.8 MB, free: 17.64 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (converter.i) * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.91e-05/0.1041, allocations: 81.36 kB / 293.9 MB, free: 17.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.1042, allocations: 72.81 kB / 294 MB, free: 17.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1042, allocations: 1.125 kB / 294 MB, free: 17.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.604e-05/0.1043, allocations: 42.23 kB / 294 MB, free: 17.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.1044, allocations: 28.5 kB / 294.1 MB, free: 17.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.105, allocations: 434.8 kB / 294.5 MB, free: 17.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.233e-05/0.105, allocations: 80.8 kB / 294.6 MB, free: 17.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.631e-05/0.105, allocations: 13.45 kB / 294.6 MB, free: 17.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.494e-05/0.1051, allocations: 76.84 kB / 294.7 MB, free: 17.13 MB / 266.7 MB Notification: Performance of SimCode: time 4.4e-07/0.1051, allocations: 0 / 294.7 MB, free: 17.13 MB / 266.7 MB Notification: Performance of Templates: time 0.002998/0.1081, allocations: 1.398 MB / 296.1 MB, free: 16.99 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Magnetic.Coupling.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Magnetic.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.Coupling.sim & ./HanserModelica_HanserModelica.Magnetic.Coupling -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.Coupling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4914932218380272]