Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 221.5 MB / 230.7 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009236/0.0009238, allocations: 89.86 kB / 281.6 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.829e-05/1.832e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1543, allocations: 61.91 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.506/0.6603, allocations: 110.3 MB / 0.6025 GB, free: 1.957 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.6606, allocations: 83.95 kB / 0.6026 GB, free: 1.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453/2.113, allocations: 383.4 MB / 0.9771 GB, free: 75.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.285e-06/2.113, allocations: 0 / 0.9771 GB, free: 75.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0007792/2.114, allocations: 250.2 kB / 0.9773 GB, free: 75.62 MB / 0.5261 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.03975/2.154, allocations: 10.42 MB / 0.9875 GB, free: 72.47 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/2.154, allocations: 17.11 kB / 0.9875 GB, free: 72.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03864/2.193, allocations: 7.721 MB / 0.995 GB, free: 71.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01555/2.208, allocations: 7.658 MB / 1.003 GB, free: 70.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006544/2.209, allocations: 366.9 kB / 1.003 GB, free: 70.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004184/2.213, allocations: 0.6529 MB / 1.003 GB, free: 70.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03375/2.247, allocations: 16.01 MB / 1.019 GB, free: 69.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04786/2.295, allocations: 17.43 MB / 1.036 GB, free: 62.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004496/2.295, allocations: 22.78 kB / 1.036 GB, free: 62.42 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003279/2.298, allocations: 6.875 kB / 1.036 GB, free: 62.42 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00089/2.299, allocations: 0.9176 MB / 1.037 GB, free: 61.88 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1091/2.408, allocations: 58.25 MB / 1.094 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3845/2.793, allocations: 17.24 MB / 1.111 GB, free: 61.34 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01146/2.805, allocations: 4.443 MB / 1.115 GB, free: 61.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009916/2.806, allocations: 234 kB / 1.115 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.739e-05/2.806, allocations: 109 kB / 1.115 GB, free: 61.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=653): time 8.987e-06/2.806, allocations: 0 / 1.115 GB, free: 61.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=653): time 0.02307/2.829, allocations: 9.96 MB / 1.125 GB, free: 60.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.025e-05/2.829, allocations: 122.2 kB / 1.125 GB, free: 60.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005936/2.835, allocations: 3.143 MB / 1.128 GB, free: 60.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00111/2.836, allocations: 26.83 kB / 1.128 GB, free: 60.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003198/2.839, allocations: 4.542 MB / 1.133 GB, free: 58.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003605/2.843, allocations: 2.095 MB / 1.135 GB, free: 57.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007297/2.844, allocations: 3.688 kB / 1.135 GB, free: 57.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006026/2.844, allocations: 0.6212 MB / 1.135 GB, free: 57.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007462/2.852, allocations: 4.094 MB / 1.139 GB, free: 57.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01047/2.862, allocations: 6.824 MB / 1.146 GB, free: 53.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01487/2.877, allocations: 7.542 MB / 1.154 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002234/2.877, allocations: 33.5 kB / 1.154 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0282/2.906, allocations: 13.16 MB / 1.166 GB, free: 53.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/2.906, allocations: 47.73 kB / 1.166 GB, free: 53.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002147/2.906, allocations: 91.38 kB / 1.167 GB, free: 53.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000963/2.907, allocations: 419.2 kB / 1.167 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008437/2.915, allocations: 2.055 MB / 1.169 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005119/2.921, allocations: 8.578 MB / 1.177 GB, free: 46.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008306/2.929, allocations: 0.9161 MB / 1.178 GB, free: 45.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00214/2.931, allocations: 372.7 kB / 1.179 GB, free: 45.65 MB / 0.5261 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.001989/2.933, allocations: 367.9 kB / 1.179 GB, free: 45.48 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01811/2.951, allocations: 9.967 MB / 1.189 GB, free: 44.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001296/2.953, allocations: 462.5 kB / 1.189 GB, free: 44.75 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01915/2.972, allocations: 11.47 MB / 1.2 GB, free: 44.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.159e-05/2.972, allocations: 67.8 kB / 1.2 GB, free: 44.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/2.972, allocations: 7.672 kB / 1.2 GB, free: 44.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.339e-05/2.972, allocations: 35.06 kB / 1.2 GB, free: 44.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5356/3.508, allocations: 160 MB / 1.357 GB, free: 92.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004579/3.508, allocations: 86.34 kB / 1.357 GB, free: 92.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007153/3.515, allocations: 1.609 MB / 1.358 GB, free: 92.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/3.516, allocations: 387.9 kB / 1.359 GB, free: 92.15 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00158/3.518, allocations: 143.8 kB / 1.359 GB, free: 92.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004904/3.523, allocations: 8.473 MB / 1.367 GB, free: 85.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.418e-05/3.523, allocations: 131.6 kB / 1.367 GB, free: 85.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02887/3.552, allocations: 28.55 MB / 1.395 GB, free: 68.17 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001895/3.554, allocations: 0.771 MB / 1.396 GB, free: 68.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001644/3.555, allocations: 129.5 kB / 1.396 GB, free: 68.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006106/3.562, allocations: 0.5159 MB / 1.396 GB, free: 68.01 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001848/3.563, allocations: 0.7222 MB / 1.397 GB, free: 67.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006912/3.564, allocations: 310.1 kB / 1.397 GB, free: 67.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004306/3.568, allocations: 2.34 MB / 1.4 GB, free: 67.76 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.004e-06/3.569, allocations: 0 / 1.4 GB, free: 67.76 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01267/3.581, allocations: 2.687 MB / 1.402 GB, free: 67.4 MB / 0.5573 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.03547/3.617, allocations: 51.7 MB / 1.453 GB, free: 28.34 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01669/3.633, allocations: 10.15 MB / 1.463 GB, free: 25.27 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 0.0001051/3.634, allocations: 14.78 kB / 1.463 GB, free: 25.27 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008655/3.642, allocations: 5.372 MB / 1.468 GB, free: 23.08 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009312/3.652, allocations: 1.03 MB / 1.469 GB, free: 22.89 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05037/3.702, allocations: 23.71 MB / 1.492 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009814/3.712, allocations: 8.019 MB / 1.5 GB, free: 15.95 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01013/3.722, allocations: 3.197 MB / 1.503 GB, free: 13.84 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008818/3.731, allocations: 4.038 MB / 1.507 GB, free: 10.09 MB / 0.573 GB Notification: Performance of SimCode: time 9.52e-07/3.731, allocations: 0 / 1.507 GB, free: 10.09 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5962/4.327, allocations: 148.5 MB / 1.652 GB, free: 65.66 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/4.327, allocations: 164.7 kB / 1.652 GB, free: 65.46 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.009/10.34, allocations: 0 / 1.652 GB, free: 65.46 MB / 0.573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat does not exist to compare? outputFormat=mat