Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001687/0.001687, allocations: 196.2 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.387/1.387, allocations: 225.4 MB / 240.1 MB, free: 15.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009317/0.0009317, allocations: 92.02 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.565e-05/3.583e-05, allocations: 0 / 350.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 51.48 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3369/0.4403, allocations: 90.31 MB / 492.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.4406, allocations: 78.75 kB / 492.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.557/0.9976, allocations: 161 MB / 0.6382 GB, free: 81.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.9976, allocations: 0 / 0.6382 GB, free: 81.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002422/0.9979, allocations: 95.5 kB / 0.6383 GB, free: 81.77 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01505/1.013, allocations: 4.086 MB / 0.6423 GB, free: 79.94 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/1.013, allocations: 11.59 kB / 0.6423 GB, free: 79.94 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002531/1.016, allocations: 0.6454 MB / 0.6429 GB, free: 79.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006273/1.022, allocations: 0.9829 MB / 0.6439 GB, free: 79.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005957/1.028, allocations: 2.728 MB / 0.6465 GB, free: 77.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002881/1.028, allocations: 321.9 kB / 0.6468 GB, free: 77.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/1.029, allocations: 427.8 kB / 0.6473 GB, free: 77.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01469/1.044, allocations: 6.482 MB / 0.6536 GB, free: 74.44 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001501/1.044, allocations: 8 kB / 0.6536 GB, free: 74.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008839/1.045, allocations: 183.5 kB / 0.6538 GB, free: 74.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003004/1.045, allocations: 315.6 kB / 0.6541 GB, free: 74.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009834/1.055, allocations: 4.64 MB / 0.6586 GB, free: 72.28 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02909/1.084, allocations: 20.99 MB / 0.6791 GB, free: 57.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004996/1.089, allocations: 5.587 MB / 0.6846 GB, free: 51.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008706/1.09, allocations: 0.7023 MB / 0.6852 GB, free: 51.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/1.091, allocations: 196.1 kB / 0.6854 GB, free: 51.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/1.091, allocations: 43.25 kB / 0.6855 GB, free: 51.33 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 2.655e-06/1.091, allocations: 0 / 0.6855 GB, free: 51.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=100): time 0.001497/1.092, allocations: 1.106 MB / 0.6865 GB, free: 50.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/1.092, allocations: 67.81 kB / 0.6866 GB, free: 50.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/1.094, allocations: 1.293 MB / 0.6879 GB, free: 49.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/1.094, allocations: 45.64 kB / 0.6879 GB, free: 49.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007481/1.095, allocations: 1.961 MB / 0.6898 GB, free: 47.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/1.095, allocations: 369.5 kB / 0.6902 GB, free: 47.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.975e-05/1.095, allocations: 48 kB / 0.6902 GB, free: 47.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/1.095, allocations: 451.2 kB / 0.6907 GB, free: 47.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/1.096, allocations: 0.8282 MB / 0.6915 GB, free: 46.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/1.098, allocations: 1.957 MB / 0.6934 GB, free: 43.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/1.099, allocations: 1.343 MB / 0.6947 GB, free: 42.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.363e-05/1.099, allocations: 12 kB / 0.6947 GB, free: 42.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003297/1.103, allocations: 2.824 MB / 0.6975 GB, free: 39.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/1.103, allocations: 24 kB / 0.6975 GB, free: 39.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.186e-05/1.103, allocations: 43.98 kB / 0.6975 GB, free: 39.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.208e-05/1.103, allocations: 56 kB / 0.6976 GB, free: 39.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/1.104, allocations: 0.5381 MB / 0.6981 GB, free: 38.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.922e-05/1.104, allocations: 79.66 kB / 0.6982 GB, free: 38.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/1.105, allocations: 301.5 kB / 0.6985 GB, free: 38.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/1.106, allocations: 120 kB / 0.6986 GB, free: 38.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002208/1.106, allocations: 267.9 kB / 0.6988 GB, free: 38.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/1.106, allocations: 126.4 kB / 0.699 GB, free: 38.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/1.108, allocations: 1.427 MB / 0.7004 GB, free: 36.56 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001059/1.109, allocations: 1.01 MB / 0.7013 GB, free: 35.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.109, allocations: 0 / 0.7013 GB, free: 35.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/1.109, allocations: 3.984 kB / 0.7013 GB, free: 35.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/1.123, allocations: 13.34 MB / 0.7144 GB, free: 21.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.782e-05/1.123, allocations: 20 kB / 0.7144 GB, free: 21.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007078/1.123, allocations: 211.6 kB / 0.7146 GB, free: 21.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.368e-05/1.123, allocations: 28 kB / 0.7146 GB, free: 21.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.139e-05/1.124, allocations: 47.95 kB / 0.7147 GB, free: 21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.8e-05/1.124, allocations: 36.48 kB / 0.7147 GB, free: 20.97 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/1.124, allocations: 31.88 kB / 0.7147 GB, free: 20.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/1.126, allocations: 3.725 MB / 0.7184 GB, free: 16.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007038/1.127, allocations: 339.1 kB / 0.7187 GB, free: 16.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002448/1.127, allocations: 52.05 kB / 0.7187 GB, free: 16.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007867/1.128, allocations: 71.75 kB / 0.7188 GB, free: 16.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/1.128, allocations: 131.5 kB / 0.7189 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.785e-05/1.128, allocations: 55.94 kB / 0.719 GB, free: 15.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001305/1.13, allocations: 0.9695 MB / 0.7199 GB, free: 14.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.13, allocations: 0 / 0.7199 GB, free: 14.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002714/1.132, allocations: 0.9593 MB / 0.7209 GB, free: 13.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (currentSensor0.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004406/1.137, allocations: 10.16 MB / 0.7308 GB, free: 3.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002601/1.139, allocations: 1.896 MB / 0.7326 GB, free: 1.289 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/1.14, allocations: 4 kB / 0.7327 GB, free: 1.285 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007271/1.14, allocations: 0.6261 MB / 0.7333 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/1.142, allocations: 346.9 kB / 0.7336 GB, free: 340 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/1.156, allocations: 6.933 MB / 0.7404 GB, free: 9.078 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003214/1.159, allocations: 3.137 MB / 0.7434 GB, free: 5.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002087/1.162, allocations: 0.8288 MB / 0.7442 GB, free: 5.074 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/1.163, allocations: 1.257 MB / 0.7455 GB, free: 3.816 MB / 458.7 MB Notification: Performance of SimCode: time 8.31e-07/1.163, allocations: 0 / 0.7455 GB, free: 3.816 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3071/1.47, allocations: 41.75 MB / 0.7862 GB, free: 88.11 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001314/1.47, allocations: 176.3 kB / 0.7864 GB, free: 87.88 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/4.075, allocations: 3.938 kB / 0.7864 GB, free: 87.88 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat