Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 201.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008688/0.0008687, allocations: 96.12 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2201/0.2201, allocations: 45.15 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.863e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1278, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5315/0.6593, allocations: 111.5 MB / 0.6133 GB, free: 6.898 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.6596, allocations: 78.58 kB / 0.6134 GB, free: 6.859 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.504/2.163, allocations: 403.9 MB / 1.008 GB, free: 75.77 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.444e-06/2.163, allocations: 0 / 1.008 GB, free: 75.77 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.00113/2.164, allocations: 250.2 kB / 1.008 GB, free: 75.75 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.04015/2.205, allocations: 10.43 MB / 1.018 GB, free: 72.63 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/2.205, allocations: 9.25 kB / 1.018 GB, free: 72.63 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04013/2.245, allocations: 7.726 MB / 1.026 GB, free: 71.98 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02073/2.266, allocations: 7.662 MB / 1.033 GB, free: 70.99 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001017/2.267, allocations: 371.8 kB / 1.034 GB, free: 70.99 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005885/2.273, allocations: 0.6417 MB / 1.034 GB, free: 70.99 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03967/2.312, allocations: 16.01 MB / 1.05 GB, free: 70.94 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05128/2.364, allocations: 17.43 MB / 1.067 GB, free: 68.76 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005943/2.364, allocations: 19.44 kB / 1.067 GB, free: 68.75 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003763/2.368, allocations: 7.281 kB / 1.067 GB, free: 68.75 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001051/2.369, allocations: 0.9203 MB / 1.068 GB, free: 68.52 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1173/2.486, allocations: 58.49 MB / 1.125 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02175/2.508, allocations: 17.25 MB / 1.142 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008403/2.517, allocations: 4.437 MB / 1.146 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007709/2.518, allocations: 319.4 kB / 1.146 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.895e-05/2.518, allocations: 103.9 kB / 1.147 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=653): time 9.457e-06/2.518, allocations: 0 / 1.147 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=653): time 0.02816/2.546, allocations: 10.98 MB / 1.157 GB, free: 1.484 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.851e-05/2.546, allocations: 124.5 kB / 1.157 GB, free: 1.348 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4003/2.946, allocations: 3.346 MB / 1.161 GB, free: 74.89 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001367/2.948, allocations: 27.98 kB / 1.161 GB, free: 74.86 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003462/2.951, allocations: 4.535 MB / 1.165 GB, free: 73.41 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002994/2.954, allocations: 2.1 MB / 1.167 GB, free: 72.01 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006412/2.955, allocations: 0 / 1.167 GB, free: 72.01 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004464/2.955, allocations: 0.6188 MB / 1.168 GB, free: 71.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005493/2.961, allocations: 4.093 MB / 1.172 GB, free: 71.68 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01038/2.971, allocations: 6.82 MB / 1.178 GB, free: 68.37 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02461/2.996, allocations: 8.577 MB / 1.187 GB, free: 68.27 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002589/2.996, allocations: 26.16 kB / 1.187 GB, free: 68.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.03282/3.029, allocations: 14.2 MB / 1.201 GB, free: 67.78 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/3.029, allocations: 45.5 kB / 1.201 GB, free: 67.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001668/3.029, allocations: 91.52 kB / 1.201 GB, free: 67.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009055/3.03, allocations: 421.5 kB / 1.201 GB, free: 67.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008042/3.038, allocations: 2.061 MB / 1.203 GB, free: 67.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005269/3.044, allocations: 8.58 MB / 1.212 GB, free: 60.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007328/3.051, allocations: 0.9249 MB / 1.213 GB, free: 60.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002273/3.053, allocations: 374.1 kB / 1.213 GB, free: 60.21 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002/3.055, allocations: 365.7 kB / 1.213 GB, free: 60.04 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.025/3.08, allocations: 10.99 MB / 1.224 GB, free: 59.54 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/3.082, allocations: 457 kB / 1.224 GB, free: 59.31 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02427/3.106, allocations: 12.16 MB / 1.236 GB, free: 58.83 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.348e-05/3.106, allocations: 66.41 kB / 1.236 GB, free: 58.83 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/3.106, allocations: 0 / 1.236 GB, free: 58.83 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.919e-05/3.106, allocations: 33.42 kB / 1.236 GB, free: 58.83 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5808/3.687, allocations: 165.6 MB / 1.398 GB, free: 97.28 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003601/3.687, allocations: 85.53 kB / 1.398 GB, free: 97.28 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006829/3.694, allocations: 1.606 MB / 1.4 GB, free: 97.28 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009061/3.695, allocations: 391.3 kB / 1.4 GB, free: 97.23 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001225/3.696, allocations: 149.9 kB / 1.4 GB, free: 97.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004969/3.701, allocations: 8.467 MB / 1.408 GB, free: 90.19 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.38e-05/3.701, allocations: 131.8 kB / 1.409 GB, free: 90.19 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03589/3.737, allocations: 29.24 MB / 1.437 GB, free: 73.29 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002395/3.74, allocations: 0.7605 MB / 1.438 GB, free: 73.14 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001639/3.741, allocations: 134.5 kB / 1.438 GB, free: 73.14 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005539/3.747, allocations: 0.5162 MB / 1.439 GB, free: 73.13 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001317/3.748, allocations: 0.72 MB / 1.439 GB, free: 73.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006384/3.749, allocations: 308.9 kB / 1.44 GB, free: 73.02 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003726/3.753, allocations: 2.344 MB / 1.442 GB, free: 72.88 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/3.753, allocations: 1.5 kB / 1.442 GB, free: 72.88 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01139/3.764, allocations: 2.687 MB / 1.444 GB, free: 72.52 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03888/3.803, allocations: 52.4 MB / 1.496 GB, free: 33.46 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01562/3.819, allocations: 10.15 MB / 1.506 GB, free: 32.75 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.599e-05/3.819, allocations: 20.31 kB / 1.506 GB, free: 32.75 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.008695/3.827, allocations: 5.37 MB / 1.511 GB, free: 31.92 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008016/3.836, allocations: 1.021 MB / 1.512 GB, free: 31.89 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06867/3.904, allocations: 23.72 MB / 1.535 GB, free: 25.36 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01338/3.918, allocations: 8.002 MB / 1.543 GB, free: 22.35 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01003/3.928, allocations: 3.196 MB / 1.546 GB, free: 20.24 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008637/3.936, allocations: 4.039 MB / 1.55 GB, free: 16.48 MB / 0.573 GB Notification: Performance of SimCode: time 1.232e-06/3.936, allocations: 0 / 1.55 GB, free: 16.48 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5724/4.509, allocations: 149 MB / 1.695 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/4.509, allocations: 165.3 kB / 1.695 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.101/10.61, allocations: 0 / 1.695 GB, free: 101.5 MB / 0.5886 GB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat does not exist to compare? outputFormat=mat