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.001754/0.001754, allocations: 180.4 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.716/1.716, allocations: 221.3 MB / 236 MB, free: 2.973 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.001013/0.001013, allocations: 84.11 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.252/0.252, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.011e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1575, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4913/0.6488, allocations: 111 MB / 0.6102 GB, free: 10.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.6492, allocations: 83.95 kB / 0.6103 GB, free: 10.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.529/2.178, allocations: 387.6 MB / 0.9888 GB, free: 57.99 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.124e-06/2.178, allocations: 3.781 kB / 0.9888 GB, free: 57.99 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0008375/2.179, allocations: 249.4 kB / 0.989 GB, free: 57.97 MB / 0.5105 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.04664/2.225, allocations: 10.44 MB / 0.9992 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/2.225, allocations: 15.25 kB / 0.9992 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009534/2.235, allocations: 1.685 MB / 1.001 GB, free: 54.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04153/2.277, allocations: 7.741 MB / 1.008 GB, free: 54.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02176/2.298, allocations: 7.658 MB / 1.016 GB, free: 52.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001078/2.3, allocations: 0.8335 MB / 1.017 GB, free: 52.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006407/2.306, allocations: 1.109 MB / 1.018 GB, free: 51.81 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.062/2.368, allocations: 19.45 MB / 1.037 GB, free: 43.31 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006297/2.369, allocations: 19.12 kB / 1.037 GB, free: 43.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005342/2.374, allocations: 486.9 kB / 1.037 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001295/2.375, allocations: 0.9191 MB / 1.038 GB, free: 42.47 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0393/2.415, allocations: 17.38 MB / 1.055 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.128/2.543, allocations: 60.34 MB / 1.114 GB, free: 2.891 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.462/3.005, allocations: 16.48 MB / 1.13 GB, free: 74.43 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008935/3.014, allocations: 4.4 MB / 1.134 GB, free: 74.37 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007862/3.015, allocations: 239.8 kB / 1.135 GB, free: 74.27 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.397e-05/3.015, allocations: 105.9 kB / 1.135 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=653): time 8.415e-06/3.015, allocations: 2.531 kB / 1.135 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=653): time 0.02196/3.037, allocations: 8.146 MB / 1.143 GB, free: 73.96 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/3.037, allocations: 122.2 kB / 1.143 GB, free: 73.89 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01499/3.052, allocations: 7.747 MB / 1.15 GB, free: 73.53 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001546/3.054, allocations: 128.7 kB / 1.151 GB, free: 73.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003969/3.057, allocations: 4.489 MB / 1.155 GB, free: 72.23 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003051/3.061, allocations: 2.188 MB / 1.157 GB, free: 71.01 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006184/3.061, allocations: 154.4 kB / 1.157 GB, free: 71.01 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000468/3.062, allocations: 0.6169 MB / 1.158 GB, free: 70.69 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006103/3.068, allocations: 3.99 MB / 1.162 GB, free: 70.68 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008706/3.077, allocations: 6.769 MB / 1.168 GB, free: 67.34 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009492/3.086, allocations: 5.513 MB / 1.174 GB, free: 67.23 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001802/3.086, allocations: 23.31 kB / 1.174 GB, free: 67.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02516/3.111, allocations: 11.78 MB / 1.185 GB, free: 66.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001879/3.112, allocations: 41.34 kB / 1.185 GB, free: 66.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002447/3.112, allocations: 91.84 kB / 1.185 GB, free: 66.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/3.113, allocations: 422.6 kB / 1.186 GB, free: 66.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008827/3.122, allocations: 2.004 MB / 1.188 GB, free: 66.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006497/3.128, allocations: 8.907 MB / 1.196 GB, free: 59.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009203/3.138, allocations: 1.348 MB / 1.198 GB, free: 58.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00227/3.14, allocations: 374.7 kB / 1.198 GB, free: 58.36 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.003685/3.144, allocations: 0.6023 MB / 1.199 GB, free: 58.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002535/3.146, allocations: 0.6999 MB / 1.199 GB, free: 57.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02506/3.171, allocations: 10.46 MB / 1.21 GB, free: 55.02 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.203e-05/3.171, allocations: 72.47 kB / 1.21 GB, free: 55.02 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/3.171, allocations: 0 / 1.21 GB, free: 55.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000141/3.172, allocations: 40.08 kB / 1.21 GB, free: 55.02 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6545/3.826, allocations: 153.7 MB / 1.36 GB, free: 103.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004407/3.827, allocations: 82.91 kB / 1.36 GB, free: 103.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006996/3.834, allocations: 1.541 MB / 1.361 GB, free: 103.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/3.835, allocations: 390.5 kB / 1.362 GB, free: 103.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001493/3.836, allocations: 249.5 kB / 1.362 GB, free: 103.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005538/3.842, allocations: 8.782 MB / 1.371 GB, free: 96.21 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.375e-05/3.842, allocations: 133.8 kB / 1.371 GB, free: 96.21 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02906/3.871, allocations: 33.5 MB / 1.403 GB, free: 73.23 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004469/3.876, allocations: 1.248 MB / 1.405 GB, free: 72.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003494/3.879, allocations: 243.3 kB / 1.405 GB, free: 72.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008264/3.887, allocations: 0.5625 MB / 1.405 GB, free: 72.79 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002298/3.89, allocations: 0.7279 MB / 1.406 GB, free: 72.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007733/3.89, allocations: 303 kB / 1.406 GB, free: 72.68 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01116/3.902, allocations: 5.93 MB / 1.412 GB, free: 72.44 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.092e-06/3.902, allocations: 0 / 1.412 GB, free: 72.44 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01399/3.916, allocations: 2.629 MB / 1.415 GB, free: 72.22 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.03779/3.954, allocations: 50.38 MB / 1.464 GB, free: 33.03 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01637/3.97, allocations: 10.18 MB / 1.474 GB, free: 32 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.267e-05/3.97, allocations: 15.09 kB / 1.474 GB, free: 32 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.008752/3.979, allocations: 5.353 MB / 1.479 GB, free: 29.77 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01193/3.991, allocations: 1.35 MB / 1.48 GB, free: 29.37 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05945/4.05, allocations: 24.98 MB / 1.505 GB, free: 17.48 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01285/4.063, allocations: 7.949 MB / 1.513 GB, free: 11.46 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01018/4.073, allocations: 3.586 MB / 1.516 GB, free: 9.082 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008133/4.082, allocations: 4.12 MB / 1.52 GB, free: 5.242 MB / 0.573 GB Notification: Performance of SimCode: time 1.773e-06/4.082, allocations: 0 / 1.52 GB, free: 5.242 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6741/4.756, allocations: 184.3 MB / 1.7 GB, free: 63.05 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/4.756, allocations: 189.3 kB / 1.7 GB, free: 62.82 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.014/13.77, allocations: 4 kB / 1.7 GB, free: 62.82 MB / 0.5886 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