Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_cpp_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.001018/0.001018, allocations: 196.3 kB / 17.38 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 226.5 MB / 244.7 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007926/0.0007925, allocations: 100.4 kB / 296.7 MB, free: 6.703 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002079/0.0002079, allocations: 12 kB / 356.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1907, allocations: 51.28 MB / 408.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.005869/0.1966, allocations: 8.4 MB / 416.5 MB, free: 19.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003791/0.2004, allocations: 2.506 MB / 419 MB, free: 16.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007898/0.2012, allocations: 75.75 kB / 419.1 MB, free: 16.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007462/0.202, allocations: 409.5 kB / 419.5 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.2035, allocations: 0.6256 MB / 420.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.2048, allocations: 0.7584 MB / 420.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002582/0.2074, allocations: 3.719 MB / 424.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01202/0.2194, allocations: 10.85 MB / 435.5 MB, free: 216 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/0.2216, allocations: 1.628 MB / 437.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002213/0.2239, allocations: 1.84 MB / 438.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004626/0.2243, allocations: 272 kB / 439.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.2255, allocations: 499.8 kB / 439.7 MB, free: 11.97 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005474/0.226, allocations: 0.7123 MB / 440.4 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001907/0.228, allocations: 1.938 MB / 442.3 MB, free: 9.305 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006061/0.234, allocations: 7.508 MB / 449.8 MB, free: 1.781 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2341, allocations: 0 / 449.8 MB, free: 1.781 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2341, allocations: 4 kB / 449.8 MB, free: 1.777 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000177/0.2343, allocations: 0 / 449.8 MB, free: 1.777 MB / 314.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.01017/0.2444, allocations: 4.349 MB / 454.2 MB, free: 13.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2445, allocations: 8.031 kB / 454.2 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001346/0.2458, allocations: 0.6578 MB / 454.9 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007198/0.253, allocations: 1.323 MB / 456.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004052/0.2571, allocations: 2.513 MB / 458.7 MB, free: 8.801 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/0.2574, allocations: 353.3 kB / 459 MB, free: 8.453 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007684/0.2581, allocations: 452 kB / 459.5 MB, free: 8.012 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/0.2685, allocations: 6.082 MB / 465.6 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-05/0.2687, allocations: 0 / 465.6 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003954/0.2691, allocations: 188 kB / 465.7 MB, free: 1.703 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001653/0.2692, allocations: 197.5 kB / 465.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008447/0.2777, allocations: 5.261 MB / 471.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02602/0.3037, allocations: 21.32 MB / 492.5 MB, free: 6.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005604/0.3094, allocations: 5.604 MB / 498.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009992/0.3104, allocations: 0.702 MB / 498.8 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.3106, allocations: 195.1 kB / 499 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.3107, allocations: 47.56 kB / 499.1 MB, free: 14.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 3.256e-06/0.3107, allocations: 0 / 499.1 MB, free: 14.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.002129/0.3128, allocations: 1.533 MB / 0.4889 GB, free: 13.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.3129, allocations: 64.41 kB / 0.4889 GB, free: 13.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.3146, allocations: 1.454 MB / 0.4903 GB, free: 11.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.638e-05/0.3146, allocations: 45.7 kB / 0.4904 GB, free: 11.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.3157, allocations: 1.951 MB / 0.4923 GB, free: 9.715 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/0.3159, allocations: 370.9 kB / 0.4926 GB, free: 9.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.883e-05/0.316, allocations: 48 kB / 0.4927 GB, free: 9.301 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3162, allocations: 451.3 kB / 0.4931 GB, free: 8.852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.3173, allocations: 0.8359 MB / 0.4939 GB, free: 8.012 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.319, allocations: 1.972 MB / 0.4959 GB, free: 5.484 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002869/0.3219, allocations: 2.986 MB / 0.4988 GB, free: 1.953 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.065e-05/0.3219, allocations: 12 kB / 0.4988 GB, free: 1.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.158/0.4799, allocations: 2.849 MB / 0.5016 GB, free: 84.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.192e-05/0.48, allocations: 22.11 kB / 0.5016 GB, free: 84.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.21e-05/0.4801, allocations: 38.97 kB / 0.5016 GB, free: 84.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.009e-05/0.4802, allocations: 54.16 kB / 0.5017 GB, free: 84.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.4819, allocations: 0.5386 MB / 0.5022 GB, free: 84.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.436e-05/0.482, allocations: 76.55 kB / 0.5023 GB, free: 84.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.4832, allocations: 300.5 kB / 0.5026 GB, free: 84.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.4834, allocations: 122.5 kB / 0.5027 GB, free: 84.59 MB / 378.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 () * Number of clocked 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.002256/0.4857, allocations: 1.67 MB / 0.5043 GB, free: 84.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.4859, allocations: 132.6 kB / 0.5044 GB, free: 84.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/0.4878, allocations: 1.417 MB / 0.5058 GB, free: 83.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001098/0.4889, allocations: 1.007 MB / 0.5068 GB, free: 83.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4889, allocations: 0.5 kB / 0.5068 GB, free: 83.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.489, allocations: 6.625 kB / 0.5068 GB, free: 83.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/0.5014, allocations: 13.51 MB / 0.52 GB, free: 76.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/0.5015, allocations: 19.47 kB / 0.52 GB, free: 76.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006398/0.5021, allocations: 214.3 kB / 0.5202 GB, free: 76.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-05/0.5021, allocations: 24.12 kB / 0.5203 GB, free: 76.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.889e-05/0.5022, allocations: 46.94 kB / 0.5203 GB, free: 76.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.021e-05/0.5022, allocations: 43.67 kB / 0.5203 GB, free: 76.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/0.5022, allocations: 28.78 kB / 0.5204 GB, free: 76.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.5044, allocations: 2.566 MB / 0.5229 GB, free: 74.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.5048, allocations: 331.1 kB / 0.5232 GB, free: 73.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.505, allocations: 58.81 kB / 0.5232 GB, free: 73.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006278/0.5056, allocations: 59.95 kB / 0.5233 GB, free: 73.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.5058, allocations: 139.4 kB / 0.5234 GB, free: 73.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.949e-05/0.5058, allocations: 60.03 kB / 0.5235 GB, free: 73.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001024/0.5069, allocations: 0.976 MB / 0.5245 GB, free: 72.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5069, allocations: 0 / 0.5245 GB, free: 72.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002176/0.5091, allocations: 0.9424 MB / 0.5254 GB, free: 71.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.002476/0.5116, allocations: 3.211 MB / 0.5285 GB, free: 68.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002247/0.5138, allocations: 1.897 MB / 0.5304 GB, free: 66.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.5138, allocations: 8.25 kB / 0.5304 GB, free: 66.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006245/0.5145, allocations: 0.6075 MB / 0.531 GB, free: 65.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004636/0.5191, allocations: 381.3 kB / 0.5313 GB, free: 65.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/0.5362, allocations: 15.7 MB / 0.5467 GB, free: 48.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/0.5382, allocations: 2.992 MB / 0.5496 GB, free: 45.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/0.5394, allocations: 1.3 MB / 0.5508 GB, free: 44.3 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5394, allocations: 4 kB / 0.5509 GB, free: 44.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.834/4.374, allocations: 53.32 MB / 0.6029 GB, free: 6.941 MB / 394.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches