Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.896/1.896, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001107, allocations: 100 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004927, allocations: 8 kB / 327.1 MB, free: 116 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3195, allocations: 47.57 MB / 374.6 MB, free: 45.31 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.4666, allocations: 94.62 MB / 469.3 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/0.4669, allocations: 91.95 kB / 469.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.42/1.887, allocations: 311.1 MB / 0.7622 GB, free: 44.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.887, allocations: 0 / 0.7622 GB, free: 44.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004025/1.887, allocations: 175.9 kB / 0.7623 GB, free: 44.16 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.04491/1.932, allocations: 9.859 MB / 0.772 GB, free: 34.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.932, allocations: 12.03 kB / 0.772 GB, free: 34.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005609/1.938, allocations: 1.311 MB / 0.7733 GB, free: 32.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04529/1.983, allocations: 5.56 MB / 0.7787 GB, free: 27.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01836/2.002, allocations: 6.124 MB / 0.7847 GB, free: 21.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00097/2.003, allocations: 0.6375 MB / 0.7853 GB, free: 20.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004044/2.007, allocations: 0.8007 MB / 0.7861 GB, free: 19.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05266/2.059, allocations: 16.83 MB / 0.8025 GB, free: 2.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003596/2.06, allocations: 11.91 kB / 0.8025 GB, free: 2.758 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002864/2.063, allocations: 356 kB / 0.8029 GB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001168/2.064, allocations: 0.7168 MB / 0.8036 GB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3454/2.409, allocations: 16.18 MB / 0.8194 GB, free: 59.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1221/2.531, allocations: 51.26 MB / 0.8694 GB, free: 49.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02851/2.56, allocations: 13.8 MB / 0.8829 GB, free: 42.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/2.561, allocations: 318.1 kB / 0.8832 GB, free: 42.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.684e-05/2.562, allocations: 115 kB / 0.8833 GB, free: 42.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=968): time 1.402e-05/2.562, allocations: 2.875 kB / 0.8833 GB, free: 42.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=968): time 0.128/2.69, allocations: 39.61 MB / 0.922 GB, free: 18.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.297e-05/2.69, allocations: 159.2 kB / 0.9222 GB, free: 18.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003242/2.693, allocations: 1.645 MB / 0.9238 GB, free: 16.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001874/2.695, allocations: 149 kB / 0.9239 GB, free: 16.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/2.696, allocations: 2.485 MB / 0.9263 GB, free: 14.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0046/2.701, allocations: 3.143 MB / 0.9294 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/2.702, allocations: 132 kB / 0.9295 GB, free: 11.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007285/2.703, allocations: 0.6472 MB / 0.9302 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01523/2.718, allocations: 6.509 MB / 0.9365 GB, free: 5.691 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01789/2.736, allocations: 7.172 MB / 0.9435 GB, free: 15.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02044/2.757, allocations: 7.519 MB / 0.9509 GB, free: 9.121 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.968e-05/2.757, allocations: 0 / 0.9509 GB, free: 9.121 MB / 442.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.05272/2.809, allocations: 18.08 MB / 0.9685 GB, free: 9.559 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/2.81, allocations: 4.938 kB / 0.9685 GB, free: 9.555 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.218e-05/2.81, allocations: 8 kB / 0.9685 GB, free: 9.547 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02368/2.833, allocations: 6.632 MB / 0.975 GB, free: 4.285 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01107/2.844, allocations: 1.167 MB / 0.9761 GB, free: 3.426 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3334/3.178, allocations: 12.78 MB / 0.9886 GB, free: 87.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007634/3.186, allocations: 0.7883 MB / 0.9894 GB, free: 87.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001543/3.187, allocations: 276.9 kB / 0.9897 GB, free: 87.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (599): * Single equations (assignments): 520 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of prepare postOptimizeDAE: time 0.009552/3.197, allocations: 3.573 MB / 0.9931 GB, free: 87.72 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00174/3.198, allocations: 411.1 kB / 0.9935 GB, free: 87.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05157/3.25, allocations: 19.47 MB / 1.013 GB, free: 87.08 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004435/3.251, allocations: 278.2 kB / 1.013 GB, free: 87.08 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.534e-05/3.251, allocations: 7.219 kB / 1.013 GB, free: 87.08 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001534/3.251, allocations: 37.78 kB / 1.013 GB, free: 87.08 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08265/3.333, allocations: 34.21 MB / 1.046 GB, free: 79.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.845e-05/3.334, allocations: 2.625 kB / 1.046 GB, free: 79.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009869/3.343, allocations: 1.101 MB / 1.047 GB, free: 79.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02128/3.365, allocations: 6.638 MB / 1.054 GB, free: 77.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002095/3.367, allocations: 206.6 kB / 1.054 GB, free: 77.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02343/3.39, allocations: 12.73 MB / 1.066 GB, free: 70.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/3.39, allocations: 0 / 1.066 GB, free: 70.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06611/3.456, allocations: 28.75 MB / 1.095 GB, free: 50 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00662/3.463, allocations: 2.074 MB / 1.097 GB, free: 48.26 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001791/3.465, allocations: 128 kB / 1.097 GB, free: 48.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006258/3.471, allocations: 421.1 kB / 1.097 GB, free: 47.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002569/3.474, allocations: 0.7097 MB / 1.098 GB, free: 47.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00115/3.475, allocations: 262.2 kB / 1.098 GB, free: 47.18 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002494/3.478, allocations: 1.267 MB / 1.099 GB, free: 46.13 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.31e-07/3.478, allocations: 3.5 kB / 1.099 GB, free: 46.13 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008498/3.486, allocations: 2.401 MB / 1.102 GB, free: 43.79 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * 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 (574): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.06773/3.554, allocations: 29.61 MB / 1.131 GB, free: 18.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.3419/3.896, allocations: 15.69 MB / 1.146 GB, free: 95.87 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/3.896, allocations: 0 / 1.146 GB, free: 95.87 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02425/3.92, allocations: 8.415 MB / 1.154 GB, free: 95.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006265/3.926, allocations: 0.5937 MB / 1.155 GB, free: 95.76 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1497/4.076, allocations: 65.44 MB / 1.219 GB, free: 76.61 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0114/4.088, allocations: 6.255 MB / 1.225 GB, free: 74.35 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008365/4.096, allocations: 2.99 MB / 1.228 GB, free: 71.88 MB / 458.7 MB Notification: Performance of SimCode: time 1.232e-06/4.096, allocations: 0 / 1.228 GB, free: 71.88 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.116/9.212, allocations: 356.5 MB / 1.576 GB, free: 86.68 MB / 490.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)