Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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) 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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009523/0.0009523, allocations: 96.89 kB / 16.93 MB, free: 5.984 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.0009778/0.0009778, allocations: 179.4 kB / 17.82 MB, free: 5.652 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.241/1.241, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.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.0004398/0.0004398, allocations: 27.27 kB / 280.9 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08005/0.08051, allocations: 47.56 MB / 328.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.005973/0.08651, allocations: 5.804 MB / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0038/0.09036, allocations: 2.14 MB / 336.4 MB, free: 12.03 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007372/0.09113, allocations: 39.81 kB / 336.4 MB, free: 11.99 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007268/0.09187, allocations: 342.1 kB / 336.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.09363, allocations: 0.7165 MB / 337.5 MB, free: 10.94 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006567/0.0943, allocations: 271.5 kB / 337.7 MB, free: 10.67 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00255/0.09686, allocations: 2.015 MB / 339.7 MB, free: 8.652 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/0.09883, allocations: 1.975 MB / 341.7 MB, free: 6.645 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.09991, allocations: 0.9614 MB / 342.7 MB, free: 5.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.1011, allocations: 1.179 MB / 343.8 MB, free: 4.496 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002092/0.1013, allocations: 152 kB / 344 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005607/0.1019, allocations: 255.9 kB / 344.2 MB, free: 4.098 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004406/0.1023, allocations: 0.6074 MB / 344.9 MB, free: 3.488 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004189/0.1027, allocations: 0.5471 MB / 345.4 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002944/0.1057, allocations: 3.709 MB / 349.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1057, allocations: 0 / 349.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1057, allocations: 4 kB / 349.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.597e-05/0.1058, allocations: 0 / 349.1 MB, free: 15.21 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.006448/0.1123, allocations: 3.141 MB / 352.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1123, allocations: 8.031 kB / 352.3 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006524/0.113, allocations: 440.8 kB / 352.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/0.1163, allocations: 0.699 MB / 353.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004377/0.1207, allocations: 1.635 MB / 355 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.1209, allocations: 193.4 kB / 355.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004909/0.1214, allocations: 268 kB / 355.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006159/0.1276, allocations: 3.583 MB / 359.1 MB, free: 5.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.231e-05/0.1276, allocations: 4 kB / 359.1 MB, free: 5.066 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002391/0.1279, allocations: 108 kB / 359.2 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.554e-05/0.128, allocations: 105.4 kB / 359.3 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005606/0.1336, allocations: 3.101 MB / 362.4 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.017/0.1506, allocations: 10.56 MB / 372.9 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004743/0.1554, allocations: 4.68 MB / 377.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1464/0.3018, allocations: 2.496 MB / 380.1 MB, free: 48.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.3019, allocations: 47 kB / 380.2 MB, free: 48.85 MB / 318.1 MB Notification: Performance of pre-optimization done (n=108): time 4.438e-06/0.3019, allocations: 3.625 kB / 380.2 MB, free: 48.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=108): time 0.006881/0.3088, allocations: 2.769 MB / 382.9 MB, free: 48.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.3089, allocations: 92.5 kB / 383 MB, free: 48.47 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.3107, allocations: 1.355 MB / 384.4 MB, free: 48.22 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.617e-05/0.3108, allocations: 43.22 kB / 384.4 MB, free: 48.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006206/0.3114, allocations: 1.149 MB / 385.6 MB, free: 47.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.3117, allocations: 379.1 kB / 385.9 MB, free: 47.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.3117, allocations: 24.91 kB / 386 MB, free: 47.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.539e-05/0.3118, allocations: 361.9 kB / 386.3 MB, free: 46.79 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009242/0.3127, allocations: 0.5968 MB / 386.9 MB, free: 46.6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.3138, allocations: 0.8622 MB / 387.8 MB, free: 46.1 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.3148, allocations: 0.7291 MB / 388.5 MB, free: 45.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.3148, allocations: 7.344 kB / 388.5 MB, free: 45.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003021/0.3178, allocations: 2.02 MB / 390.5 MB, free: 45.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.3179, allocations: 7.781 kB / 390.5 MB, free: 45.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.3179, allocations: 8.469 kB / 390.6 MB, free: 45.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009179/0.3188, allocations: 402.4 kB / 390.9 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008152/0.3197, allocations: 241.9 kB / 391.2 MB, free: 44.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005626/0.3253, allocations: 6.221 MB / 397.4 MB, free: 40.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009477/0.3263, allocations: 144.8 kB / 397.5 MB, free: 40.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-05/0.3264, allocations: 55.48 kB / 397.6 MB, free: 40.6 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001236/0.3276, allocations: 0.8645 MB / 398.5 MB, free: 40.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.3278, allocations: 137.9 kB / 398.6 MB, free: 40.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.3302, allocations: 1.748 MB / 400.3 MB, free: 39.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3303, allocations: 11.56 kB / 400.4 MB, free: 39.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3303, allocations: 3.812 kB / 400.4 MB, free: 39.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.3303, allocations: 7.703 kB / 400.4 MB, free: 39.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005249/0.3355, allocations: 4.104 MB / 404.5 MB, free: 36.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.3356, allocations: 3.906 kB / 404.5 MB, free: 36.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/0.3361, allocations: 151 kB / 404.6 MB, free: 36.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007755/0.3369, allocations: 395.7 kB / 405 MB, free: 36.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.421e-05/0.337, allocations: 35.98 kB / 405 MB, free: 36.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005281/0.3423, allocations: 6.23 MB / 411.3 MB, free: 30.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3423, allocations: 7.75 kB / 411.3 MB, free: 30.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003324/0.3457, allocations: 2.683 MB / 414 MB, free: 27.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004027/0.3461, allocations: 251 kB / 414.2 MB, free: 27.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.3463, allocations: 39.98 kB / 414.2 MB, free: 27.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007095/0.347, allocations: 95.91 kB / 414.3 MB, free: 26.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/0.3472, allocations: 96.72 kB / 414.4 MB, free: 26.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/0.3472, allocations: 32 kB / 414.5 MB, free: 26.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001016/0.3483, allocations: 0.9509 MB / 415.4 MB, free: 25.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3483, allocations: 3.938 kB / 415.4 MB, free: 25.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001634/0.3499, allocations: 0.6756 MB / 416.1 MB, free: 25.16 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003298/0.3532, allocations: 3.695 MB / 419.8 MB, free: 21.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002491/0.3557, allocations: 1.852 MB / 421.6 MB, free: 19.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3558, allocations: 0 / 421.6 MB, free: 19.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001446/0.3572, allocations: 1.176 MB / 422.8 MB, free: 18.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.3585, allocations: 283.9 kB / 423.1 MB, free: 18.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/0.3739, allocations: 17.6 MB / 440.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.3757, allocations: 2.227 MB / 442.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00106/0.3767, allocations: 354.9 kB / 443.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009595/0.3777, allocations: 0.8625 MB / 444.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of SimCode: time 1.173e-06/0.3777, allocations: 3.281 kB / 444.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08379/0.4615, allocations: 35.74 MB / 479.9 MB, free: 8.688 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/0.4618, allocations: 227.6 kB / 480.1 MB, free: 8.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/2.704, allocations: 0 / 480.1 MB, free: 8.445 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat