Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.MaxwellLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop") translateModel(HelmholtzMedia.Examples.Validation.MaxwellLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005002/0.005003, allocations: 101.1 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 190.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 222.6 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05055/0.05055, allocations: 9.096 MB / 279 MB, free: 11.95 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 68.27 kB / 387.5 MB, free: 8.008 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2491, allocations: 48.15 MB / 435.6 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01802/0.2672, allocations: 17.52 MB / 453.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.2701, allocations: 2.433 MB / 455.6 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.415e-05/0.2702, allocations: 1.094 kB / 455.6 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.2713, allocations: 380.7 kB / 455.9 MB, free: 8.488 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeBindings: time 0.00834/0.2797, allocations: 3.105 MB / 459 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.646e-05/0.2797, allocations: 16.92 kB / 459.1 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.28, allocations: 189.3 kB / 459.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.254e-05/0.28, allocations: 8.25 kB / 459.3 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.2802, allocations: 98.88 kB / 459.4 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.2803, allocations: 57.03 kB / 459.4 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.2804, allocations: 4 kB / 459.4 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/0.2905, allocations: 6.3 MB / 465.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.404e-05/0.2905, allocations: 15.86 kB / 465.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.2907, allocations: 63.67 kB / 465.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005523/0.2962, allocations: 2.791 MB / 468.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2962, allocations: 0 / 468.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2963, allocations: 0 / 468.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.2963, allocations: 0 / 468.6 MB, free: 15.73 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001398/0.2977, allocations: 0.6665 MB / 469.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.2977, allocations: 12.03 kB / 469.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.2979, allocations: 35.78 kB / 469.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.2981, allocations: 190.7 kB / 469.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2981, allocations: 4 kB / 469.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.2981, allocations: 0 / 469.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.2985, allocations: 158.5 kB / 469.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.2985, allocations: 0 / 469.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.2985, allocations: 4 kB / 469.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.2985, allocations: 3.984 kB / 469.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/0.2989, allocations: 196.1 kB / 469.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.2992, allocations: 278.4 kB / 470.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.2995, allocations: 178.7 kB / 470.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.2998, allocations: 165.9 kB / 470.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02027/0.3201, allocations: 10.93 MB / 481.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/0.3202, allocations: 46.44 kB / 481.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 3.026e-06/0.3202, allocations: 0 / 481.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009352/0.3212, allocations: 460.2 kB / 481.9 MB, free: 472 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.3212, allocations: 51.41 kB / 481.9 MB, free: 408 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.3213, allocations: 145.7 kB / 482.1 MB, free: 252 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.3214, allocations: 25.7 kB / 482.1 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.3214, allocations: 88.78 kB / 482.2 MB, free: 128 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.961e-05/0.3215, allocations: 98.47 kB / 482.3 MB, free: 28 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.476e-05/0.3216, allocations: 37.66 kB / 482.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3217, allocations: 326.8 kB / 482.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.3219, allocations: 115.9 kB / 482.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.3222, allocations: 119.9 kB / 482.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/0.3227, allocations: 303.6 kB / 483.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3227, allocations: 4 kB / 483.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005592/0.3232, allocations: 327.2 kB / 483.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3233, allocations: 4 kB / 483.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3233, allocations: 4 kB / 483.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3233, allocations: 0 / 483.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.3234, allocations: 15.98 kB / 483.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.3235, allocations: 3.984 kB / 483.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.3236, allocations: 35.61 kB / 483.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.3236, allocations: 8 kB / 483.5 MB, free: 14.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.238e-05/0.3237, allocations: 113.8 kB / 483.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.3238, allocations: 11.81 kB / 483.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006308/0.3244, allocations: 368.7 kB / 484 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.3244, allocations: 7.984 kB / 484 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3244, allocations: 4 kB / 484 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3244, allocations: 7.922 kB / 484 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.3247, allocations: 266 kB / 484.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3247, allocations: 0 / 484.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.3248, allocations: 15.98 kB / 484.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.3248, allocations: 0 / 484.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3248, allocations: 3.938 kB / 484.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.3249, allocations: 8 kB / 484.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3249, allocations: 0 / 484.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006003/0.3255, allocations: 382.4 kB / 484.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-05/0.3255, allocations: 100.8 kB / 484.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.3256, allocations: 7.938 kB / 484.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3257, allocations: 11.98 kB / 484.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.3258, allocations: 11.92 kB / 484.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.3258, allocations: 4 kB / 484.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.453e-05/0.3258, allocations: 102.9 kB / 484.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3258, allocations: 0 / 484.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001334/0.3272, allocations: 491.8 kB / 485.4 MB, free: 12.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002806/0.33, allocations: 0.7139 MB / 486.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005815/0.3306, allocations: 288.2 kB / 486.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3306, allocations: 0 / 486.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.3309, allocations: 171.8 kB / 486.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.3314, allocations: 68.22 kB / 486.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.332, allocations: 379.8 kB / 487 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.3322, allocations: 0.7162 MB / 487.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.187e-05/0.3323, allocations: 27.89 kB / 487.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.3324, allocations: 11.44 kB / 487.8 MB, free: 10.33 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3324, allocations: 4 kB / 487.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of Templates: time 0.0288/0.3612, allocations: 20.56 MB / 0.4964 GB, free: 5.77 MB / 382.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe 2>&1)