Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 181.7 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009859/0.000986, allocations: 94.81 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002656/0.0002656, allocations: 4 kB / 351.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2598, allocations: 50.41 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.3776, allocations: 96.23 MB / 497.8 MB, free: 204 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.3779, allocations: 92.72 kB / 497.9 MB, free: 112 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9929/1.371, allocations: 315.3 MB / 0.7942 GB, free: 11.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.18e-06/1.371, allocations: 0 / 0.7942 GB, free: 11.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007705/1.372, allocations: 179.9 kB / 0.7944 GB, free: 10.96 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.03709/1.409, allocations: 9.861 MB / 0.804 GB, free: 1.023 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.846e-05/1.409, allocations: 12.03 kB / 0.804 GB, free: 1.012 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008122/1.417, allocations: 1.308 MB / 0.8053 GB, free: 15.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03207/1.449, allocations: 5.557 MB / 0.8107 GB, free: 10.12 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01834/1.468, allocations: 6.331 MB / 0.8169 GB, free: 3.723 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00104/1.469, allocations: 0.6102 MB / 0.8175 GB, free: 3.109 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005127/1.474, allocations: 0.8085 MB / 0.8183 GB, free: 2.301 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3427/1.817, allocations: 15.7 MB / 0.8336 GB, free: 53.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004478/1.817, allocations: 13.97 kB / 0.8336 GB, free: 53.45 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003732/1.821, allocations: 350.3 kB / 0.8339 GB, free: 53.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001264/1.822, allocations: 0.8261 MB / 0.8348 GB, free: 53.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03272/1.855, allocations: 14.59 MB / 0.849 GB, free: 53.33 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08289/1.938, allocations: 47.7 MB / 0.8956 GB, free: 37.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01704/1.955, allocations: 19.27 MB / 0.9144 GB, free: 22.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006345/1.956, allocations: 183.6 kB / 0.9146 GB, free: 22.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.154e-05/1.956, allocations: 85.81 kB / 0.9147 GB, free: 22.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=468): time 8.947e-06/1.956, allocations: 0 / 0.9147 GB, free: 22.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=468): time 0.02186/1.978, allocations: 11.47 MB / 0.9259 GB, free: 18.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/1.978, allocations: 128.9 kB / 0.926 GB, free: 18.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005604/1.983, allocations: 3.456 MB / 0.9294 GB, free: 16.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001199/1.985, allocations: 100.3 kB / 0.9295 GB, free: 16.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002858/1.987, allocations: 3.9 MB / 0.9333 GB, free: 13.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002487/1.99, allocations: 1.61 MB / 0.9348 GB, free: 12.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008044/1.991, allocations: 150.1 kB / 0.935 GB, free: 12.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005289/1.991, allocations: 0.6111 MB / 0.9356 GB, free: 12.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005017/1.996, allocations: 3.646 MB / 0.9391 GB, free: 10.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006998/2.003, allocations: 6.459 MB / 0.9454 GB, free: 5.934 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0072/2.011, allocations: 5.186 MB / 0.9505 GB, free: 1.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.269e-05/2.011, allocations: 28 kB / 0.9505 GB, free: 1.543 MB / 442.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02532/2.036, allocations: 12.04 MB / 0.9623 GB, free: 8.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/2.036, allocations: 44 kB / 0.9623 GB, free: 8.277 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001842/2.036, allocations: 103.9 kB / 0.9624 GB, free: 8.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004871/2.041, allocations: 1.613 MB / 0.964 GB, free: 7.074 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007577/2.049, allocations: 1.67 MB / 0.9656 GB, free: 5.645 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02065/2.069, allocations: 16.56 MB / 0.9818 GB, free: 6.121 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006884/2.076, allocations: 0.9435 MB / 0.9827 GB, free: 5.258 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001828/2.078, allocations: 366 kB / 0.9831 GB, free: 4.91 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007774/2.086, allocations: 3.757 MB / 0.9867 GB, free: 1.773 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009435/2.087, allocations: 387.1 kB / 0.9871 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3339/2.421, allocations: 8.819 MB / 0.9957 GB, free: 78.44 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001313/2.421, allocations: 49.34 kB / 0.9958 GB, free: 78.44 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001219/2.421, allocations: 13.53 kB / 0.9958 GB, free: 78.44 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002062/2.422, allocations: 24.67 kB / 0.9958 GB, free: 78.44 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04602/2.468, allocations: 16.85 MB / 1.012 GB, free: 77.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/2.468, allocations: 2.094 kB / 1.012 GB, free: 77.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004119/2.472, allocations: 0.8599 MB / 1.013 GB, free: 77.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00459/2.476, allocations: 1.492 MB / 1.015 GB, free: 77.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001007/2.477, allocations: 102.6 kB / 1.015 GB, free: 77.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01596/2.493, allocations: 16.36 MB / 1.031 GB, free: 69.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/2.493, allocations: 3.125 kB / 1.031 GB, free: 69.43 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02105/2.514, allocations: 12.35 MB / 1.043 GB, free: 68.28 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003885/2.518, allocations: 1.114 MB / 1.044 GB, free: 67.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00151/2.52, allocations: 91.34 kB / 1.044 GB, free: 67.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003699/2.524, allocations: 306.5 kB / 1.044 GB, free: 67.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001166/2.525, allocations: 323.1 kB / 1.044 GB, free: 67.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007292/2.526, allocations: 134.6 kB / 1.045 GB, free: 67.96 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004699/2.53, allocations: 2.546 MB / 1.047 GB, free: 67.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.4e-07/2.53, allocations: 0 / 1.047 GB, free: 67.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01017/2.54, allocations: 2.385 MB / 1.049 GB, free: 67.57 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (455): * Single equations (assignments): 449 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02154/2.562, allocations: 13.62 MB / 1.063 GB, free: 65.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01475/2.577, allocations: 9.293 MB / 1.072 GB, free: 62.31 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/2.577, allocations: 0 / 1.072 GB, free: 62.31 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008033/2.585, allocations: 4.44 MB / 1.076 GB, free: 60.36 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004454/2.589, allocations: 0.6327 MB / 1.077 GB, free: 60.15 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3939/2.983, allocations: 112.2 MB / 1.186 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009649/2.993, allocations: 6.184 MB / 1.192 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008911/3.002, allocations: 3.292 MB / 1.196 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005503/3.008, allocations: 3.005 MB / 1.199 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.413e-06/3.008, allocations: 0 / 1.199 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1825/3.19, allocations: 121.4 MB / 1.317 GB, free: 44.81 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/3.19, allocations: 238 kB / 1.317 GB, free: 44.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.748/8.938, allocations: 0 / 1.317 GB, free: 44.57 MB / 0.4948 GB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1)