Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",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.001518/0.001517, allocations: 186.1 kB / 16.4 MB, free: 5.719 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.985/1.985, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001217/0.001217, allocations: 91.36 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003815, allocations: 8 kB / 327.1 MB, free: 100 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.331, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.4792, allocations: 89.38 MB / 464 MB, free: 7.223 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.4795, allocations: 91.95 kB / 464.1 MB, free: 7.133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7122/1.192, allocations: 141.5 MB / 0.5914 GB, free: 21.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.192, allocations: 4 kB / 0.5914 GB, free: 21.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002083/1.192, allocations: 87.94 kB / 0.5915 GB, free: 21.58 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01845/1.211, allocations: 3.991 MB / 0.5954 GB, free: 17.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.211, allocations: 8.031 kB / 0.5954 GB, free: 17.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002753/1.213, allocations: 0.6376 MB / 0.596 GB, free: 16.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01608/1.229, allocations: 1.822 MB / 0.5978 GB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007021/1.237, allocations: 2.431 MB / 0.6002 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005514/1.237, allocations: 324.5 kB / 0.6005 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001866/1.239, allocations: 419.9 kB / 0.6009 GB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02187/1.261, allocations: 6.896 MB / 0.6076 GB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002286/1.261, allocations: 8 kB / 0.6076 GB, free: 4.758 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001663/1.263, allocations: 184 kB / 0.6078 GB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004033/1.263, allocations: 272.7 kB / 0.6081 GB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01824/1.282, allocations: 5.825 MB / 0.6138 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06176/1.343, allocations: 21.34 MB / 0.6346 GB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01484/1.358, allocations: 7.596 MB / 0.642 GB, free: 452 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.328/1.686, allocations: 9.442 MB / 0.6512 GB, free: 78.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/1.686, allocations: 59.06 kB / 0.6513 GB, free: 78.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 6.894e-06/1.686, allocations: 2.062 kB / 0.6513 GB, free: 78.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.02063/1.707, allocations: 10.74 MB / 0.6618 GB, free: 72.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/1.707, allocations: 74.69 kB / 0.6619 GB, free: 72.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/1.71, allocations: 1.104 MB / 0.6629 GB, free: 72.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006002/1.71, allocations: 58.39 kB / 0.663 GB, free: 72.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/1.711, allocations: 1.675 MB / 0.6646 GB, free: 71.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001494/1.713, allocations: 0.8824 MB / 0.6655 GB, free: 71.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004312/1.713, allocations: 56.25 kB / 0.6655 GB, free: 71.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003198/1.714, allocations: 447.6 kB / 0.666 GB, free: 71.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005214/1.719, allocations: 1.931 MB / 0.6678 GB, free: 71.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005979/1.725, allocations: 2.703 MB / 0.6705 GB, free: 70.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006592/1.731, allocations: 2.385 MB / 0.6728 GB, free: 70.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-05/1.732, allocations: 7.188 kB / 0.6728 GB, free: 70.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.01837/1.75, allocations: 5.503 MB / 0.6782 GB, free: 69.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/1.75, allocations: 15.25 kB / 0.6782 GB, free: 69.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.135e-05/1.75, allocations: 22.38 kB / 0.6782 GB, free: 69.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003036/1.753, allocations: 1.076 MB / 0.6793 GB, free: 69.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005631/1.759, allocations: 0.5243 MB / 0.6798 GB, free: 69.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00837/1.767, allocations: 3.876 MB / 0.6836 GB, free: 68.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004566/1.772, allocations: 372.4 kB / 0.6839 GB, free: 67.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/1.773, allocations: 139.7 kB / 0.6841 GB, free: 67.94 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (305): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.005669/1.779, allocations: 1.537 MB / 0.6856 GB, free: 67.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008578/1.78, allocations: 156.8 kB / 0.6857 GB, free: 67.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01811/1.798, allocations: 4.648 MB / 0.6903 GB, free: 65.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01448/1.812, allocations: 4.25 MB / 0.6944 GB, free: 63.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/1.812, allocations: 0 / 0.6944 GB, free: 63.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.383e-05/1.812, allocations: 11.34 kB / 0.6944 GB, free: 63.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02268/1.835, allocations: 9.516 MB / 0.7037 GB, free: 59.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-05/1.835, allocations: 0 / 0.7037 GB, free: 59.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/1.838, allocations: 256.8 kB / 0.704 GB, free: 59.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002796/1.84, allocations: 1.042 MB / 0.705 GB, free: 58.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005522/1.841, allocations: 53.78 kB / 0.705 GB, free: 58.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00536/1.846, allocations: 3.844 MB / 0.7088 GB, free: 56.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.846, allocations: 13.33 kB / 0.7088 GB, free: 56.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0165/1.863, allocations: 7.097 MB / 0.7157 GB, free: 53.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006633/1.864, allocations: 300.5 kB / 0.716 GB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006886/1.864, allocations: 31.81 kB / 0.716 GB, free: 52.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/1.866, allocations: 79.75 kB / 0.7161 GB, free: 52.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006066/1.866, allocations: 205.2 kB / 0.7163 GB, free: 52.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002407/1.867, allocations: 70.86 kB / 0.7164 GB, free: 52.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001537/1.868, allocations: 0.7941 MB / 0.7172 GB, free: 52.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.868, allocations: 0 / 0.7172 GB, free: 52.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003576/1.872, allocations: 0.9962 MB / 0.7181 GB, free: 51.94 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor31.pin_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 (152): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0164/1.888, allocations: 7.757 MB / 0.7257 GB, free: 45.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0113/1.9, allocations: 4.473 MB / 0.7301 GB, free: 41.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.9, allocations: 0 / 0.7301 GB, free: 41.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005516/1.905, allocations: 2.065 MB / 0.7321 GB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/1.908, allocations: 266.2 kB / 0.7323 GB, free: 39.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05128/1.959, allocations: 36.85 MB / 0.7683 GB, free: 4.324 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003791/1.963, allocations: 2.976 MB / 0.7712 GB, free: 1.934 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002908/1.966, allocations: 1.235 MB / 0.7724 GB, free: 0.793 MB / 410.7 MB Notification: Performance of SimCode: time 1.372e-06/1.966, allocations: 4 kB / 0.7724 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.775/5.741, allocations: 128.2 MB / 0.8976 GB, free: 65.52 MB / 442.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat