Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.TestTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 111.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 242.7 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 197.1 kB / 295.1 MB, free: 12.64 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0393/0.0393, allocations: 8.795 MB / 356 MB, free: 15.89 MB / 302.1 MB " [Timeout remaining time 180] 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.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") translateModel(HanserModelica.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 79.88 kB / 473.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3388, allocations: 51.56 MB / 0.5125 GB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.005425/0.3443, allocations: 3.812 MB / 0.5163 GB, free: 9.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.3459, allocations: 0.9344 MB / 0.5172 GB, free: 8.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.3462, allocations: 11.94 kB / 0.5172 GB, free: 8.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.3464, allocations: 87.16 kB / 0.5173 GB, free: 8.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003719/0.3468, allocations: 150.6 kB / 0.5174 GB, free: 8.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.3471, allocations: 171.7 kB / 0.5176 GB, free: 7.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006795/0.3478, allocations: 0.6424 MB / 0.5182 GB, free: 7.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004189/0.3482, allocations: 280.9 kB / 0.5185 GB, free: 6.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.3485, allocations: 255.1 kB / 0.5187 GB, free: 6.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.3489, allocations: 282.8 kB / 0.519 GB, free: 6.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.534e-05/0.349, allocations: 68 kB / 0.5191 GB, free: 6.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-05/0.3491, allocations: 68 kB / 0.5191 GB, free: 6.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.3493, allocations: 131.5 kB / 0.5192 GB, free: 6.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002796/0.3495, allocations: 306.6 kB / 0.5195 GB, free: 5.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007953/0.3503, allocations: 0.7343 MB / 0.5203 GB, free: 5.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3503, allocations: 0 / 0.5203 GB, free: 5.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3504, allocations: 0 / 0.5203 GB, free: 5.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.3504, allocations: 0 / 0.5203 GB, free: 5.16 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001484/0.3519, allocations: 0.8378 MB / 0.5211 GB, free: 4.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3519, allocations: 16.03 kB / 0.5211 GB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.352, allocations: 60.56 kB / 0.5211 GB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.3526, allocations: 375.8 kB / 0.5215 GB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/0.3526, allocations: 41.69 kB / 0.5215 GB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.958e-05/0.3527, allocations: 48.38 kB / 0.5216 GB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009255/0.3537, allocations: 0.5189 MB / 0.5221 GB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.3537, allocations: 0 / 0.5221 GB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/0.3537, allocations: 24 kB / 0.5221 GB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.3538, allocations: 12 kB / 0.5221 GB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008193/0.3546, allocations: 387.8 kB / 0.5225 GB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.3574, allocations: 1.895 MB / 0.5243 GB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006906/0.3581, allocations: 320.2 kB / 0.5247 GB, free: 432 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.3586, allocations: 225.3 kB / 0.5249 GB, free: 204 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.3586, allocations: 4.281 kB / 0.5249 GB, free: 200 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.3587, allocations: 38.84 kB / 0.5249 GB, free: 152 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.373e-06/0.3587, allocations: 0 / 0.5249 GB, free: 152 kB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.004607/0.3633, allocations: 1.73 MB / 0.5266 GB, free: 14.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.3633, allocations: 55.84 kB / 0.5267 GB, free: 14.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.3637, allocations: 303.2 kB / 0.5269 GB, free: 13.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.3637, allocations: 33.7 kB / 0.527 GB, free: 13.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.364, allocations: 276.8 kB / 0.5272 GB, free: 13.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.3641, allocations: 174.5 kB / 0.5274 GB, free: 13.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.3643, allocations: 86.25 kB / 0.5275 GB, free: 13.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3644, allocations: 342.8 kB / 0.5278 GB, free: 13.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.3648, allocations: 157 kB / 0.528 GB, free: 12.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/0.3652, allocations: 238.5 kB / 0.5282 GB, free: 12.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007851/0.366, allocations: 413.1 kB / 0.5286 GB, free: 12.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.366, allocations: 0 / 0.5286 GB, free: 12.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001125/0.3672, allocations: 0.5598 MB / 0.5291 GB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3672, allocations: 6.188 kB / 0.5291 GB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.3672, allocations: 4 kB / 0.5291 GB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002922/0.3675, allocations: 101.8 kB / 0.5292 GB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/0.368, allocations: 111.8 kB / 0.5293 GB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003326/0.3713, allocations: 3.59 MB / 0.5329 GB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.3716, allocations: 20.02 kB / 0.5329 GB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.3716, allocations: 24.06 kB / 0.5329 GB, free: 7.492 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002456/0.3719, allocations: 189.6 kB / 0.5331 GB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.372, allocations: 39.77 kB / 0.5331 GB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.3721, allocations: 51.67 kB / 0.5332 GB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.3721, allocations: 4 kB / 0.5332 GB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.3721, allocations: 3.938 kB / 0.5332 GB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3721, allocations: 0 / 0.5332 GB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.3739, allocations: 1.132 MB / 0.5343 GB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3739, allocations: 0 / 0.5343 GB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003746/0.3743, allocations: 91.91 kB / 0.5344 GB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002493/0.3746, allocations: 101.5 kB / 0.5345 GB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.3746, allocations: 8 kB / 0.5345 GB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003208/0.3778, allocations: 3.593 MB / 0.538 GB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.3778, allocations: 0 / 0.538 GB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.3793, allocations: 0.7803 MB / 0.5387 GB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.3794, allocations: 144.8 kB / 0.5389 GB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.3795, allocations: 8.25 kB / 0.5389 GB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.3798, allocations: 35.91 kB / 0.5389 GB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3799, allocations: 31.95 kB / 0.5389 GB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.3799, allocations: 16.06 kB / 0.539 GB, free: 0.8828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002332/0.3802, allocations: 213.9 kB / 0.5392 GB, free: 0.6719 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3802, allocations: 0 / 0.5392 GB, free: 0.6719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005992/0.3808, allocations: 120 kB / 0.5393 GB, free: 0.5547 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (transformer.converter1.i,transformer.eddyCurrent.Phi) * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001639/0.3809, allocations: 109.4 kB / 0.5394 GB, free: 452 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.3822, allocations: 0.6664 MB / 0.54 GB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3822, allocations: 0 / 0.54 GB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007671/0.383, allocations: 493.7 kB / 0.5405 GB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.3834, allocations: 52.52 kB / 0.5406 GB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.3854, allocations: 1.052 MB / 0.5416 GB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.3859, allocations: 0.8434 MB / 0.5424 GB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.386, allocations: 27.44 kB / 0.5424 GB, free: 13.2 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.386, allocations: 4 kB / 0.5424 GB, free: 13.2 MB / 366.1 MB Notification: Performance of Templates: time 0.01294/0.399, allocations: 9.865 MB / 0.5521 GB, free: 3.344 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Magnetic.TestTransformer.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.TestTransformer.sim & ./HanserModelica_HanserModelica.Magnetic.TestTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.029186963103712] Failed to read output from testmodel.py, exit status != 0: 0.40539122489281 0.41892789499999994 0.066042011 Calling exit ...