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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 206.7 kB / 8.543 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 225.5 MB / 234.4 MB, free: 3.355 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009169/0.0009169, allocations: 93.72 kB / 286.3 MB, free: 5.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.167/0.167, allocations: 45.15 MB / 383.3 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.191/0.3581, allocations: 69.37 MB / 452.7 MB, free: 76.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08795/0.4461, allocations: 63.24 MB / 0.5039 GB, free: 12.85 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2752/0.7213, allocations: 111.4 MB / 0.6126 GB, free: 7.422 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.7215, allocations: 81.47 kB / 0.6127 GB, free: 7.383 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: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 1.132/1.854, allocations: 413.2 MB / 1.016 GB, free: 56.69 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.854, allocations: 9.906 kB / 1.016 GB, free: 56.69 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04166/1.896, allocations: 7.024 MB / 1.023 GB, free: 56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01607/1.912, allocations: 7.689 MB / 1.031 GB, free: 55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004269/1.912, allocations: 367.5 kB / 1.031 GB, free: 55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00304/1.915, allocations: 0.6553 MB / 1.032 GB, free: 55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02772/1.943, allocations: 16.37 MB / 1.048 GB, free: 54.95 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03956/1.983, allocations: 17.75 MB / 1.065 GB, free: 53.01 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000402/1.983, allocations: 29.69 kB / 1.065 GB, free: 52.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00259/1.986, allocations: 7.438 kB / 1.065 GB, free: 52.99 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008924/1.987, allocations: 0.9535 MB / 1.066 GB, free: 52.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1021/2.089, allocations: 58.55 MB / 1.123 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/2.1, allocations: 8.674 MB / 1.132 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005931/2.106, allocations: 5.108 MB / 1.137 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005185/2.106, allocations: 321.6 kB / 1.137 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/2.106, allocations: 103.9 kB / 1.137 GB, free: 2.676 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=653): time 7.705e-06/2.106, allocations: 4 kB / 1.137 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of matching and sorting (n=653): time 0.01674/2.123, allocations: 9.127 MB / 1.146 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/2.123, allocations: 121.1 kB / 1.146 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005155/2.128, allocations: 3.233 MB / 1.149 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007053/2.129, allocations: 25.7 kB / 1.149 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00292/2.132, allocations: 4.121 MB / 1.153 GB, free: 4.957 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002398/2.134, allocations: 2.101 MB / 1.155 GB, free: 3.02 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004019/2.135, allocations: 0 / 1.155 GB, free: 3.02 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004796/2.135, allocations: 0.6168 MB / 1.156 GB, free: 2.488 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01196/2.147, allocations: 4.956 MB / 1.161 GB, free: 0 / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3121/2.459, allocations: 7.177 MB / 1.168 GB, free: 114 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009639/2.469, allocations: 6.26 MB / 1.174 GB, free: 113.9 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.99e-05/2.469, allocations: 27.5 kB / 1.174 GB, free: 113.9 MB / 0.5418 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01898/2.488, allocations: 12.17 MB / 1.186 GB, free: 113.6 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/2.488, allocations: 6.875 kB / 1.186 GB, free: 113.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/2.488, allocations: 93.72 kB / 1.186 GB, free: 113.6 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008736/2.489, allocations: 423.8 kB / 1.186 GB, free: 113.6 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007405/2.497, allocations: 1.968 MB / 1.188 GB, free: 113.6 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004961/2.502, allocations: 8.5 MB / 1.196 GB, free: 106.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006134/2.508, allocations: 0.7925 MB / 1.197 GB, free: 106.6 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008783/2.509, allocations: 370.9 kB / 1.198 GB, free: 106.6 MB / 0.5418 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.001187/2.51, allocations: 368.7 kB / 1.198 GB, free: 106.5 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008118/2.511, allocations: 462.2 kB / 1.198 GB, free: 106.3 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01712/2.528, allocations: 11.23 MB / 1.209 GB, free: 105.9 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-05/2.528, allocations: 66.44 kB / 1.209 GB, free: 105.9 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/2.528, allocations: 1.688 kB / 1.209 GB, free: 105.9 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-05/2.528, allocations: 35.55 kB / 1.209 GB, free: 105.9 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1149/2.643, allocations: 119.5 MB / 1.326 GB, free: 62.52 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001516/2.643, allocations: 72 kB / 1.326 GB, free: 62.45 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006732/2.65, allocations: 1.497 MB / 1.328 GB, free: 61.29 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009276/2.651, allocations: 388.7 kB / 1.328 GB, free: 60.96 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009939/2.652, allocations: 132.2 kB / 1.328 GB, free: 60.84 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004648/2.656, allocations: 8.482 MB / 1.336 GB, free: 52.15 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.584e-05/2.657, allocations: 115.7 kB / 1.337 GB, free: 52.04 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02322/2.68, allocations: 26.76 MB / 1.363 GB, free: 23.71 MB / 0.5418 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2994/2.979, allocations: 35.43 MB / 1.397 GB, free: 106.5 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/2.981, allocations: 0.7316 MB / 1.398 GB, free: 106.4 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00212/2.983, allocations: 109.1 kB / 1.398 GB, free: 106.4 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006037/2.989, allocations: 394.6 kB / 1.398 GB, free: 106.4 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001983/2.991, allocations: 0.5781 MB / 1.399 GB, free: 106.4 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008834/2.992, allocations: 288.3 kB / 1.399 GB, free: 106.4 MB / 0.5418 GB Notification: Performance of sort global known variables: time 0.004106/2.996, allocations: 2.416 MB / 1.402 GB, free: 106.2 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01153/3.008, allocations: 2.722 MB / 1.404 GB, free: 106 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 329 * 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.001464/3.009, allocations: 356.9 kB / 1.405 GB, free: 105.9 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01438/3.024, allocations: 10.82 MB / 1.415 GB, free: 105.2 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 5.833e-05/3.024, allocations: 12.06 kB / 1.415 GB, free: 105.2 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.007935/3.032, allocations: 5.676 MB / 1.421 GB, free: 104.6 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006701/3.038, allocations: 0.949 MB / 1.422 GB, free: 104.6 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03934/3.078, allocations: 20.24 MB / 1.441 GB, free: 99.17 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01072/3.089, allocations: 8.52 MB / 1.45 GB, free: 98.2 MB / 0.5418 GB Notification: Performance of SimCode: time 8.22e-07/3.089, allocations: 6.531 kB / 1.45 GB, free: 98.2 MB / 0.5418 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