Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001578/0.001578, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.601/1.601, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001012/0.001012, allocations: 91.91 kB / 292.1 MB, free: 6.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.831e-05/4.845e-05, allocations: 4 kB / 350.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1535, allocations: 51.49 MB / 402.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4475/0.601, allocations: 90.36 MB / 492.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.6013, allocations: 82.2 kB / 492.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6702/1.272, allocations: 220.8 MB / 0.6967 GB, free: 43.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.803e-06/1.272, allocations: 4 kB / 0.6967 GB, free: 43.74 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003014/1.272, allocations: 135.9 kB / 0.6968 GB, free: 43.61 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.0209/1.293, allocations: 5.91 MB / 0.7026 GB, free: 37.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/1.293, allocations: 12.03 kB / 0.7026 GB, free: 37.62 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004715/1.298, allocations: 1.034 MB / 0.7036 GB, free: 36.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0143/1.312, allocations: 2.085 MB / 0.7057 GB, free: 34.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/1.322, allocations: 3.831 MB / 0.7094 GB, free: 30.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005003/1.323, allocations: 456.2 kB / 0.7098 GB, free: 30.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002474/1.326, allocations: 0.5971 MB / 0.7104 GB, free: 29.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0252/1.351, allocations: 9.105 MB / 0.7193 GB, free: 20.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003253/1.351, allocations: 11.91 kB / 0.7193 GB, free: 20.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002175/1.353, allocations: 260 kB / 0.7196 GB, free: 19.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005745/1.354, allocations: 461.3 kB / 0.72 GB, free: 19.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01754/1.371, allocations: 7.137 MB / 0.727 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3484/1.72, allocations: 29.17 MB / 0.7555 GB, free: 46.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/1.73, allocations: 11.7 MB / 0.7669 GB, free: 36.78 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002888/1.733, allocations: 1.631 MB / 0.7685 GB, free: 36.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003422/1.734, allocations: 228.5 kB / 0.7687 GB, free: 36.56 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.665e-05/1.734, allocations: 59.22 kB / 0.7688 GB, free: 36.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 7.955e-06/1.734, allocations: 0 / 0.7688 GB, free: 36.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.00498/1.739, allocations: 2.669 MB / 0.7714 GB, free: 36.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/1.739, allocations: 102.1 kB / 0.7715 GB, free: 36.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002989/1.742, allocations: 1.677 MB / 0.7731 GB, free: 36.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002491/1.742, allocations: 71.05 kB / 0.7732 GB, free: 35.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001715/1.744, allocations: 2.53 MB / 0.7756 GB, free: 34.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008013/1.745, allocations: 0.8478 MB / 0.7765 GB, free: 34.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/1.745, allocations: 71.69 kB / 0.7765 GB, free: 34.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002018/1.745, allocations: 452.1 kB / 0.777 GB, free: 34.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002157/1.747, allocations: 1.417 MB / 0.7784 GB, free: 34.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002817/1.75, allocations: 2.607 MB / 0.7809 GB, free: 32.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003258/1.753, allocations: 2.04 MB / 0.7829 GB, free: 32.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.512e-05/1.753, allocations: 13 kB / 0.7829 GB, free: 32.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.009005/1.762, allocations: 4.563 MB / 0.7874 GB, free: 32.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/1.762, allocations: 26.91 kB / 0.7874 GB, free: 32.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.418e-05/1.763, allocations: 40.8 kB / 0.7874 GB, free: 32.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007969/1.763, allocations: 316.4 kB / 0.7877 GB, free: 32.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003052/1.766, allocations: 0.7795 MB / 0.7885 GB, free: 32.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004579/1.771, allocations: 4.604 MB / 0.793 GB, free: 29.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003064/1.774, allocations: 410.7 kB / 0.7934 GB, free: 29.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000653/1.775, allocations: 162.6 kB / 0.7935 GB, free: 29.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (420): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007126/1.776, allocations: 320.2 kB / 0.7938 GB, free: 29.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005631/1.776, allocations: 220.2 kB / 0.794 GB, free: 29.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00603/1.782, allocations: 3.285 MB / 0.7973 GB, free: 28.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-05/1.782, allocations: 25.06 kB / 0.7973 GB, free: 28.99 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/1.782, allocations: 5.531 kB / 0.7973 GB, free: 28.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.636e-05/1.782, allocations: 13.41 kB / 0.7973 GB, free: 28.99 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02301/1.805, allocations: 12.76 MB / 0.8098 GB, free: 25.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/1.805, allocations: 11.91 kB / 0.8098 GB, free: 25.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/1.807, allocations: 437.2 kB / 0.8102 GB, free: 25.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007499/1.808, allocations: 277.7 kB / 0.8105 GB, free: 25.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/1.808, allocations: 69.33 kB / 0.8105 GB, free: 25.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004587/1.813, allocations: 4.537 MB / 0.815 GB, free: 22.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.768e-05/1.813, allocations: 23.34 kB / 0.815 GB, free: 22.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007812/1.82, allocations: 6.092 MB / 0.8209 GB, free: 20.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.822, allocations: 335.8 kB / 0.8212 GB, free: 20.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003603/1.822, allocations: 65.23 kB / 0.8213 GB, free: 20.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/1.823, allocations: 128.2 kB / 0.8214 GB, free: 20.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004338/1.824, allocations: 207.8 kB / 0.8216 GB, free: 20.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.824, allocations: 87.23 kB / 0.8217 GB, free: 20.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002255/1.826, allocations: 1.266 MB / 0.8229 GB, free: 20.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.954e-06/1.826, allocations: 0 / 0.8229 GB, free: 20.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005122/1.832, allocations: 1.465 MB / 0.8244 GB, free: 19.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (resistor2_1.pin_p.reference.gamma,currentSensorN.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01054/1.842, allocations: 10.77 MB / 0.8349 GB, free: 27.89 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006472/1.849, allocations: 3.69 MB / 0.8385 GB, free: 26.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-05/1.849, allocations: 4.031 kB / 0.8385 GB, free: 26.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003165/1.852, allocations: 1.751 MB / 0.8402 GB, free: 25.85 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/1.855, allocations: 467.6 kB / 0.8407 GB, free: 25.72 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02589/1.881, allocations: 9.988 MB / 0.8504 GB, free: 21.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006429/1.888, allocations: 4.108 MB / 0.8544 GB, free: 20.03 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004348/1.892, allocations: 1.209 MB / 0.8556 GB, free: 19.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003549/1.896, allocations: 1.915 MB / 0.8575 GB, free: 18.31 MB / 458.7 MB Notification: Performance of SimCode: time 2.094e-06/1.896, allocations: 1.594 kB / 0.8575 GB, free: 18.31 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4642/2.36, allocations: 64.89 MB / 0.9208 GB, free: 70.16 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/2.36, allocations: 190.5 kB / 0.921 GB, free: 69.95 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.506/5.866, allocations: 0 / 0.921 GB, free: 69.95 MB / 474.7 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat