Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00161/0.00161, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002171/0.002171, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1959/0.1959, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 78.47 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1144, allocations: 62.44 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004374/0.1188, allocations: 3.518 MB / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1201, allocations: 0.8296 MB / 484.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.1203, allocations: 11.94 kB / 484.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.1205, allocations: 75.28 kB / 484.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.1208, allocations: 130.8 kB / 484.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.1211, allocations: 123.8 kB / 484.8 MB, free: 484 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.1216, allocations: 0.518 MB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.1219, allocations: 238.1 kB / 485.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.1221, allocations: 211.2 kB / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.1224, allocations: 231 kB / 486 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.116e-05/0.1225, allocations: 48 kB / 486 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.557e-05/0.1225, allocations: 48 kB / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.736e-05/0.1226, allocations: 115.5 kB / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.1228, allocations: 246.8 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004381/0.1233, allocations: 0.5488 MB / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1233, allocations: 4 kB / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1233, allocations: 0 / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.1233, allocations: 0 / 487 MB, free: 14.29 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001276/0.1246, allocations: 0.7642 MB / 487.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1246, allocations: 15.97 kB / 487.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.298e-05/0.1247, allocations: 82.7 kB / 487.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.613e-05/0.1248, allocations: 56.28 kB / 487.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.1252, allocations: 309.5 kB / 488.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.1252, allocations: 37.38 kB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/0.1253, allocations: 44.38 kB / 488.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007366/0.126, allocations: 475 kB / 488.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1261, allocations: 0 / 488.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.1261, allocations: 23.98 kB / 488.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.1261, allocations: 12 kB / 488.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006695/0.1268, allocations: 319.8 kB / 489.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.129, allocations: 1.697 MB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.1295, allocations: 232.1 kB / 491 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.1298, allocations: 141.7 kB / 491.2 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.1299, allocations: 4 kB / 491.2 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1299, allocations: 34.56 kB / 491.2 MB, free: 9.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.1299, allocations: 0 / 491.2 MB, free: 9.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.00274/0.1326, allocations: 1.348 MB / 492.5 MB, free: 8.344 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.1327, allocations: 81.11 kB / 492.6 MB, free: 8.246 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.133, allocations: 262.5 kB / 492.9 MB, free: 7.984 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.133, allocations: 29.7 kB / 492.9 MB, free: 7.949 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.1332, allocations: 259.5 kB / 493.2 MB, free: 7.688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.186e-05/0.1333, allocations: 126.1 kB / 493.3 MB, free: 7.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.1334, allocations: 78.03 kB / 493.4 MB, free: 7.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1336, allocations: 346.8 kB / 493.7 MB, free: 7.133 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.1339, allocations: 104.8 kB / 493.8 MB, free: 7.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.1342, allocations: 212.3 kB / 494 MB, free: 6.777 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006334/0.1348, allocations: 337.4 kB / 494.3 MB, free: 6.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1349, allocations: 0 / 494.3 MB, free: 6.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008188/0.1357, allocations: 425.6 kB / 494.8 MB, free: 5.984 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1357, allocations: 4 kB / 494.8 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1357, allocations: 4 kB / 494.8 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001205/0.1358, allocations: 41.14 kB / 494.8 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/0.1363, allocations: 119.8 kB / 494.9 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009339/0.1372, allocations: 1.431 MB / 496.4 MB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.1375, allocations: 27.81 kB / 496.4 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.1375, allocations: 20 kB / 496.4 MB, free: 4.199 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.1377, allocations: 169.7 kB / 496.6 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.811e-05/0.1377, allocations: 23.72 kB / 496.6 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.758e-05/0.1378, allocations: 42.17 kB / 496.6 MB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1378, allocations: 8 kB / 496.6 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1378, allocations: 3.938 kB / 496.6 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1378, allocations: 0 / 496.6 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009759/0.1388, allocations: 0.7153 MB / 497.4 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1388, allocations: 0 / 497.4 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.1392, allocations: 95.88 kB / 497.5 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.48e-05/0.1393, allocations: 28.78 kB / 497.5 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.1393, allocations: 16.05 kB / 497.5 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008675/0.1402, allocations: 1.414 MB / 498.9 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1402, allocations: 0 / 498.9 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008928/0.1411, allocations: 0.6021 MB / 499.5 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.1412, allocations: 124.8 kB / 499.6 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.1413, allocations: 15.97 kB / 499.6 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.1415, allocations: 19.92 kB / 499.7 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.1416, allocations: 31.91 kB / 499.7 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1416, allocations: 8 kB / 499.7 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.1418, allocations: 186 kB / 499.9 MB, free: 460 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1418, allocations: 0 / 499.9 MB, free: 460 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004016/0.1422, allocations: 92 kB / 500 MB, free: 368 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001123/0.1433, allocations: 1.14 MB / 0.4894 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007654/0.1441, allocations: 416.5 kB / 0.4898 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1441, allocations: 3.938 kB / 0.4898 GB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.1445, allocations: 262.1 kB / 0.49 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.145, allocations: 54.86 kB / 0.4901 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.1492, allocations: 3.491 MB / 0.4935 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.1496, allocations: 0.8113 MB / 0.4943 GB, free: 9.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.1497, allocations: 38.89 kB / 0.4943 GB, free: 9.895 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.1499, allocations: 139.4 kB / 0.4944 GB, free: 9.758 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1499, allocations: 0 / 0.4944 GB, free: 9.758 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.1748, allocations: 6.352 MB / 0.5007 GB, free: 3.531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.2, allocations: 11.03 kB / 0.5007 GB, free: 3.523 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1)