Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",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.001049/0.001049, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.213/1.213, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0007661/0.0007661, allocations: 90.59 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002677/0.0002677, allocations: 4 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2233, allocations: 47.56 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09727/0.3206, allocations: 89.44 MB / 465.4 MB, free: 7.195 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.3209, allocations: 87.95 kB / 465.4 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7245/1.045, allocations: 218.6 MB / 0.668 GB, free: 70.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.056e-06/1.045, allocations: 0 / 0.668 GB, free: 70.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002975/1.046, allocations: 142.9 kB / 0.6682 GB, free: 70.69 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01921/1.065, allocations: 6.367 MB / 0.6744 GB, free: 68.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.065, allocations: 8.531 kB / 0.6744 GB, free: 68.71 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004096/1.069, allocations: 1.127 MB / 0.6755 GB, free: 68.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02118/1.09, allocations: 3.548 MB / 0.679 GB, free: 68.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009684/1.1, allocations: 3.956 MB / 0.6828 GB, free: 67.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006715/1.101, allocations: 0.4936 MB / 0.6833 GB, free: 67.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002523/1.103, allocations: 0.6294 MB / 0.6839 GB, free: 67.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02363/1.127, allocations: 10.9 MB / 0.6946 GB, free: 66.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002584/1.127, allocations: 6.938 kB / 0.6946 GB, free: 66.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00198/1.129, allocations: 277.4 kB / 0.6948 GB, free: 66.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005979/1.13, allocations: 469.8 kB / 0.6953 GB, free: 66.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01761/1.147, allocations: 9.742 MB / 0.7048 GB, free: 66.81 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05714/1.205, allocations: 33.57 MB / 0.7376 GB, free: 51.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/1.217, allocations: 13.36 MB / 0.7506 GB, free: 38.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02336/1.24, allocations: 15.17 MB / 0.7655 GB, free: 25.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/1.24, allocations: 73.88 kB / 0.7655 GB, free: 25.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=482): time 6.873e-06/1.24, allocations: 0 / 0.7655 GB, free: 25.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=482): time 0.02433/1.265, allocations: 17.56 MB / 0.7827 GB, free: 9.047 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/1.265, allocations: 116.4 kB / 0.7828 GB, free: 8.918 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002908/1.268, allocations: 1.569 MB / 0.7843 GB, free: 7.594 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009131/1.269, allocations: 85.7 kB / 0.7844 GB, free: 7.504 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001576/1.27, allocations: 2.435 MB / 0.7868 GB, free: 5.352 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002062/1.272, allocations: 1.596 MB / 0.7883 GB, free: 3.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006873/1.273, allocations: 88 kB / 0.7884 GB, free: 3.824 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004848/1.274, allocations: 0.5164 MB / 0.7889 GB, free: 3.367 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00503/1.279, allocations: 3.122 MB / 0.792 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01486/1.293, allocations: 4.934 MB / 0.7968 GB, free: 14.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00655/1.3, allocations: 3.796 MB / 0.8005 GB, free: 11.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.48e-05/1.3, allocations: 11.95 kB / 0.8005 GB, free: 11.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01685/1.317, allocations: 9.408 MB / 0.8097 GB, free: 2.074 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/1.317, allocations: 20 kB / 0.8097 GB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.484e-05/1.317, allocations: 35.98 kB / 0.8098 GB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2254/1.543, allocations: 2.718 MB / 0.8124 GB, free: 83.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003651/1.546, allocations: 0.7675 MB / 0.8132 GB, free: 83.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009174/1.555, allocations: 9.691 MB / 0.8226 GB, free: 79.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003933/1.559, allocations: 0.509 MB / 0.8231 GB, free: 79.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009833/1.56, allocations: 209.2 kB / 0.8233 GB, free: 79.24 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 132 * 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 (436): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 6 {6 9,6 9,6 51,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.005682/1.566, allocations: 2.307 MB / 0.8256 GB, free: 79.13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/1.567, allocations: 269.3 kB / 0.8258 GB, free: 79.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01527/1.583, allocations: 8.637 MB / 0.8343 GB, free: 78.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000189/1.583, allocations: 146.7 kB / 0.8344 GB, free: 78.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.711e-05/1.583, allocations: 3.656 kB / 0.8344 GB, free: 78.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.633e-05/1.583, allocations: 19.56 kB / 0.8344 GB, free: 78.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/1.596, allocations: 7.054 MB / 0.8413 GB, free: 78.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.16e-05/1.596, allocations: 1.312 kB / 0.8413 GB, free: 78.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00229/1.599, allocations: 434 kB / 0.8417 GB, free: 78.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005048/1.604, allocations: 2.687 MB / 0.8444 GB, free: 78.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008467/1.605, allocations: 104 kB / 0.8445 GB, free: 78.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008946/1.614, allocations: 9.637 MB / 0.8539 GB, free: 73.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.614, allocations: 0 / 0.8539 GB, free: 73.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01977/1.634, allocations: 12.74 MB / 0.8663 GB, free: 71.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009356/1.634, allocations: 438.1 kB / 0.8667 GB, free: 71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/1.636, allocations: 61.19 kB / 0.8668 GB, free: 70.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002159/1.638, allocations: 137.8 kB / 0.8669 GB, free: 70.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008978/1.639, allocations: 359.5 kB / 0.8673 GB, free: 70.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005652/1.639, allocations: 129.5 kB / 0.8674 GB, free: 70.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001983/1.641, allocations: 1.147 MB / 0.8685 GB, free: 70.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.641, allocations: 3.25 kB / 0.8685 GB, free: 70.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005734/1.647, allocations: 1.583 MB / 0.87 GB, free: 70.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 6 {6 9,6 9,6 51,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0187/1.666, allocations: 13.49 MB / 0.8832 GB, free: 63.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01197/1.678, allocations: 7.619 MB / 0.8907 GB, free: 61.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.678, allocations: 0 / 0.8907 GB, free: 61.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006494/1.684, allocations: 3.822 MB / 0.8944 GB, free: 59.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/1.687, allocations: 449.6 kB / 0.8948 GB, free: 59.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06819/1.755, allocations: 55.72 MB / 0.9492 GB, free: 8.875 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00623/1.762, allocations: 4.403 MB / 0.9535 GB, free: 5.465 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00348/1.765, allocations: 0.8831 MB / 0.9544 GB, free: 4.863 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00292/1.768, allocations: 2.107 MB / 0.9564 GB, free: 2.91 MB / 442.7 MB Notification: Performance of SimCode: time 9.02e-07/1.768, allocations: 0 / 0.9564 GB, free: 2.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3774/2.145, allocations: 112.4 MB / 1.066 GB, free: 76.25 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/2.146, allocations: 247.2 kB / 1.066 GB, free: 76 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.714/5.86, allocations: 0 / 1.066 GB, free: 76 MB / 458.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat