Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors",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 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 180 kB / 8.477 MB, free: 1.883 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.045/1.045, allocations: 205.2 MB / 214.1 MB, free: 5.098 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008322/0.000832, allocations: 91.66 kB / 262.1 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1439/0.1448, allocations: 52.96 MB / 315.1 MB, free: 41.42 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06014/0.2049, allocations: 47.58 MB / 362.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.4026, allocations: 84.03 MB / 446.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.4028, allocations: 73.12 kB / 446.7 MB, free: 10.59 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.07107/0.4739, allocations: 33.16 MB / 479.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.4739, allocations: 8 kB / 479.9 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008347/0.4748, allocations: 257.2 kB / 480.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/0.477, allocations: 1.26 MB / 481.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.4771, allocations: 76 kB / 481.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003095/0.4774, allocations: 128 kB / 481.6 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002748/0.4802, allocations: 1.809 MB / 483.4 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003326/0.4835, allocations: 2.399 MB / 485.8 MB, free: 7.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/0.4835, allocations: 0 / 485.8 MB, free: 7.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.4837, allocations: 4 kB / 485.8 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/0.4838, allocations: 59.91 kB / 485.9 MB, free: 7.008 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009942/0.4937, allocations: 7.333 MB / 493.2 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000738/0.4945, allocations: 0.6339 MB / 493.8 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009044/0.4954, allocations: 0.6802 MB / 494.5 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.814e-05/0.4954, allocations: 4.5 kB / 494.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.4955, allocations: 51.05 kB / 494.6 MB, free: 14.56 MB / 346.7 MB Notification: Performance of pre-optimization done (n=63): time 2.124e-06/0.4955, allocations: 0 / 494.6 MB, free: 14.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=65): time 0.002817/0.4983, allocations: 2.023 MB / 496.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.4983, allocations: 59.97 kB / 496.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007639/0.4991, allocations: 0.6558 MB / 497.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.4992, allocations: 29.7 kB / 497.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/0.4996, allocations: 0.82 MB / 498.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.4997, allocations: 216.7 kB / 498.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.4998, allocations: 0 / 498.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4999, allocations: 398.7 kB / 498.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/0.5004, allocations: 345.6 kB / 499.1 MB, free: 9.926 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005604/0.501, allocations: 0.5536 MB / 499.7 MB, free: 9.273 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005897/0.5016, allocations: 458.9 kB / 0.4884 GB, free: 8.828 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5016, allocations: 4 kB / 0.4884 GB, free: 8.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001477/0.5031, allocations: 1.05 MB / 0.4894 GB, free: 7.762 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.5031, allocations: 7.938 kB / 0.4894 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.5031, allocations: 11.91 kB / 0.4894 GB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/0.5033, allocations: 97.25 kB / 0.4895 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006993/0.504, allocations: 171.8 kB / 0.4897 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.5057, allocations: 1.844 MB / 0.4915 GB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/0.5062, allocations: 19.98 kB / 0.4915 GB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/0.5063, allocations: 36 kB / 0.4915 GB, free: 5.473 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.5064, allocations: 128.6 kB / 0.4917 GB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.5066, allocations: 79.06 kB / 0.4917 GB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.5079, allocations: 0.8559 MB / 0.4926 GB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.5079, allocations: 4 kB / 0.4926 GB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.5079, allocations: 4 kB / 0.4926 GB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.5079, allocations: 7.984 kB / 0.4926 GB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003784/0.5117, allocations: 2.328 MB / 0.4949 GB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/0.5117, allocations: 12 kB / 0.4949 GB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/0.5122, allocations: 116 kB / 0.495 GB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001783/0.5124, allocations: 72.8 kB / 0.4951 GB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/0.5125, allocations: 8 kB / 0.4951 GB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/0.514, allocations: 1.794 MB / 0.4968 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5141, allocations: 4 kB / 0.4968 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001719/0.5158, allocations: 1.434 MB / 0.4982 GB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002366/0.5182, allocations: 2.294 MB / 0.5005 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.5185, allocations: 224 kB / 0.5007 GB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.5186, allocations: 4 kB / 0.5007 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.5191, allocations: 31.97 kB / 0.5007 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.5192, allocations: 52.34 kB / 0.5008 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.5192, allocations: 16 kB / 0.5008 GB, free: 11.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0005899/0.5198, allocations: 0.5069 MB / 0.5013 GB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001529/0.5214, allocations: 283.9 kB / 0.5015 GB, free: 10.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002506/0.5216, allocations: 131.1 kB / 0.5017 GB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.5229, allocations: 0.9793 MB / 0.5026 GB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.5229, allocations: 4 kB / 0.5026 GB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007022/0.5236, allocations: 0.5669 MB / 0.5032 GB, free: 9.172 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008315/0.5245, allocations: 183.1 kB / 0.5034 GB, free: 8.992 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004394/0.5289, allocations: 2.485 MB / 0.5058 GB, free: 6.441 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001568/0.5305, allocations: 1.825 MB / 0.5076 GB, free: 4.586 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5305, allocations: 0 / 0.5076 GB, free: 4.586 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1)