Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.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.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",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.001313/0.001313, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.413/1.413, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.0008037/0.0008037, allocations: 86.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.456e-05/2.459e-05, allocations: 0 / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08893/0.08897, allocations: 47.57 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.313/0.402, allocations: 91.68 MB / 461.8 MB, free: 1.723 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.4023, allocations: 81.08 kB / 461.9 MB, free: 1.684 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9719/1.374, allocations: 305 MB / 0.749 GB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.906e-06/1.374, allocations: 0 / 0.749 GB, free: 42.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000386/1.375, allocations: 205.5 kB / 0.7492 GB, free: 42.89 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.02444/1.399, allocations: 7.987 MB / 0.757 GB, free: 40.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.399, allocations: 14.28 kB / 0.757 GB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003828/1.403, allocations: 1.315 MB / 0.7583 GB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01948/1.423, allocations: 3.886 MB / 0.762 GB, free: 39.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/1.434, allocations: 5.387 MB / 0.7673 GB, free: 38.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009173/1.435, allocations: 0.6795 MB / 0.768 GB, free: 38.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003883/1.439, allocations: 0.8558 MB / 0.7688 GB, free: 38.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03671/1.476, allocations: 15.19 MB / 0.7836 GB, free: 32.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003709/1.476, allocations: 11.31 kB / 0.7837 GB, free: 32.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003049/1.479, allocations: 381.4 kB / 0.784 GB, free: 31.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006446/1.48, allocations: 0.5788 MB / 0.7846 GB, free: 31.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02601/1.506, allocations: 12.75 MB / 0.797 GB, free: 20.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09208/1.598, allocations: 47.81 MB / 0.8437 GB, free: 7.668 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2533/1.851, allocations: 9.632 MB / 0.8531 GB, free: 67.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01193/1.863, allocations: 6.581 MB / 0.8596 GB, free: 67.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03959/1.903, allocations: 20.99 MB / 0.8801 GB, free: 66.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.911e-05/1.903, allocations: 89.84 kB / 0.8801 GB, free: 66.28 MB / 442.7 MB Notification: Performance of pre-optimization done (n=711): time 9.267e-06/1.903, allocations: 0 / 0.8801 GB, free: 66.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=711): time 0.01854/1.922, allocations: 11.55 MB / 0.8914 GB, free: 65.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/1.922, allocations: 111.9 kB / 0.8915 GB, free: 65.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002799/1.925, allocations: 1.729 MB / 0.8932 GB, free: 65.69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009635/1.926, allocations: 113.3 kB / 0.8933 GB, free: 65.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/1.927, allocations: 3.036 MB / 0.8963 GB, free: 64.33 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002437/1.929, allocations: 2.334 MB / 0.8986 GB, free: 62.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008854/1.93, allocations: 112.2 kB / 0.8987 GB, free: 62.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005709/1.931, allocations: 0.5958 MB / 0.8993 GB, free: 62.01 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006727/1.938, allocations: 4.578 MB / 0.9037 GB, free: 60.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009552/1.947, allocations: 5.803 MB / 0.9094 GB, free: 57.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008352/1.956, allocations: 5.569 MB / 0.9148 GB, free: 54.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.465e-05/1.956, allocations: 15.28 kB / 0.9148 GB, free: 54.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.0203/1.976, allocations: 13.1 MB / 0.9276 GB, free: 49.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/1.976, allocations: 17.72 kB / 0.9277 GB, free: 49.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.589e-05/1.976, allocations: 30.69 kB / 0.9277 GB, free: 49.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005151/1.981, allocations: 3.693 MB / 0.9313 GB, free: 48.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004048/1.985, allocations: 1.037 MB / 0.9323 GB, free: 48.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007864/1.993, allocations: 9.183 MB / 0.9413 GB, free: 42.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004185/1.997, allocations: 0.7079 MB / 0.942 GB, free: 42.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001262/1.999, allocations: 267.2 kB / 0.9422 GB, free: 42.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (570): * Single equations (assignments): 479 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 85 * 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: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of prepare postOptimizeDAE: time 0.00198/2.001, allocations: 409.3 kB / 0.9426 GB, free: 42.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/2.002, allocations: 352.4 kB / 0.9429 GB, free: 41.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01908/2.021, allocations: 12.9 MB / 0.9555 GB, free: 36.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01428/2.036, allocations: 11.48 MB / 0.9668 GB, free: 26.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-05/2.036, allocations: 3.281 kB / 0.9668 GB, free: 26.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-05/2.036, allocations: 30.06 kB / 0.9668 GB, free: 26.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03621/2.072, allocations: 24.4 MB / 0.9906 GB, free: 5.906 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.099e-05/2.072, allocations: 4.031 kB / 0.9906 GB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003222/2.075, allocations: 0.7095 MB / 0.9913 GB, free: 5.371 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005201/2.08, allocations: 3.638 MB / 0.9949 GB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009452/2.081, allocations: 157.5 kB / 0.995 GB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009595/2.091, allocations: 9.173 MB / 1.004 GB, free: 9.891 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/2.091, allocations: 0 / 1.004 GB, free: 9.891 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.266/2.357, allocations: 18.95 MB / 1.022 GB, free: 79.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004055/2.361, allocations: 1.496 MB / 1.024 GB, free: 79.79 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001602/2.363, allocations: 89.28 kB / 1.024 GB, free: 79.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003296/2.366, allocations: 254.8 kB / 1.024 GB, free: 79.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001563/2.368, allocations: 0.5246 MB / 1.025 GB, free: 79.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009758/2.369, allocations: 180.2 kB / 1.025 GB, free: 79.78 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002247/2.371, allocations: 1.296 MB / 1.026 GB, free: 79.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.01e-07/2.371, allocations: 0 / 1.026 GB, free: 79.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008042/2.379, allocations: 2.165 MB / 1.028 GB, free: 79.51 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (currentQuasiRMSSensor.currentSensor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (403): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 85 * 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: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of Backend phase and start with SimCode phase: time 0.03517/2.414, allocations: 19.71 MB / 1.048 GB, free: 78.24 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01852/2.433, allocations: 10.94 MB / 1.058 GB, free: 78.01 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/2.433, allocations: 1.656 kB / 1.058 GB, free: 78.01 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01009/2.443, allocations: 5.553 MB / 1.064 GB, free: 77.74 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004693/2.448, allocations: 0.6061 MB / 1.064 GB, free: 77.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04203/2.49, allocations: 19.69 MB / 1.083 GB, free: 70.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006155/2.496, allocations: 6.159 MB / 1.09 GB, free: 67.97 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003594/2.5, allocations: 1.299 MB / 1.091 GB, free: 67.86 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003194/2.503, allocations: 2.83 MB / 1.094 GB, free: 65.44 MB / 458.7 MB Notification: Performance of SimCode: time 7.91e-07/2.503, allocations: 0 / 1.094 GB, free: 65.44 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4108/2.914, allocations: 151.5 MB / 1.242 GB, free: 68.54 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/2.914, allocations: 201.8 kB / 1.242 GB, free: 68.31 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.811/7.725, allocations: 0 / 1.242 GB, free: 68.31 MB / 458.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat