Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.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.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001473/0.001472, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001681/0.001681, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2119/0.2119, allocations: 46.12 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 79.86 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2799, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003774/0.2837, allocations: 2.582 MB / 0.5331 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.2848, allocations: 0.6693 MB / 0.5338 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.2849, allocations: 7.625 kB / 0.5338 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.285, allocations: 35.23 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.2852, allocations: 78.52 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.2854, allocations: 74.59 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.2858, allocations: 286.9 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.2859, allocations: 93.48 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.2861, allocations: 122.4 kB / 0.5344 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.2863, allocations: 116.5 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.2863, allocations: 23.38 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.712e-05/0.2864, allocations: 24.75 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.2865, allocations: 54.7 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.2866, allocations: 124.7 kB / 0.5348 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.2869, allocations: 289.7 kB / 0.535 GB, free: 9.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2869, allocations: 0 / 0.535 GB, free: 9.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2869, allocations: 0 / 0.535 GB, free: 9.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.287, allocations: 0 / 0.535 GB, free: 9.867 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008427/0.2878, allocations: 0.5484 MB / 0.5356 GB, free: 9.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2879, allocations: 18.25 kB / 0.5356 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.558e-05/0.2879, allocations: 57.14 kB / 0.5356 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.2881, allocations: 36.31 kB / 0.5357 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.2884, allocations: 250.9 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.2884, allocations: 16.78 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.2885, allocations: 17.16 kB / 0.536 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.2888, allocations: 195.6 kB / 0.5361 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2889, allocations: 4 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.2889, allocations: 10.38 kB / 0.5362 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.2889, allocations: 8.875 kB / 0.5362 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.2892, allocations: 141.4 kB / 0.5363 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.2905, allocations: 0.8041 MB / 0.5371 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.2907, allocations: 98.83 kB / 0.5372 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.169e-05/0.2908, allocations: 47.97 kB / 0.5372 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.2908, allocations: 5.281 kB / 0.5372 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.2908, allocations: 35.83 kB / 0.5373 GB, free: 7.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.2908, allocations: 0 / 0.5373 GB, free: 7.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001796/0.2926, allocations: 0.7263 MB / 0.538 GB, free: 7.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.2927, allocations: 53.62 kB / 0.538 GB, free: 7.363 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.2929, allocations: 211.4 kB / 0.5382 GB, free: 7.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.2929, allocations: 34.75 kB / 0.5383 GB, free: 7.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.2931, allocations: 169.2 kB / 0.5384 GB, free: 7.008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.2931, allocations: 54.92 kB / 0.5385 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/0.2932, allocations: 43.64 kB / 0.5385 GB, free: 6.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2934, allocations: 335.6 kB / 0.5388 GB, free: 6.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.2935, allocations: 55.41 kB / 0.5389 GB, free: 6.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.2937, allocations: 112.2 kB / 0.539 GB, free: 6.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.294, allocations: 176.9 kB / 0.5392 GB, free: 6.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.294, allocations: 0 / 0.5392 GB, free: 6.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000592/0.2946, allocations: 284.5 kB / 0.5394 GB, free: 6.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2946, allocations: 6.5 kB / 0.5394 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2946, allocations: 5.719 kB / 0.5394 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/0.2949, allocations: 71.77 kB / 0.5395 GB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.295, allocations: 39.7 kB / 0.5396 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/0.2976, allocations: 3.013 MB / 0.5425 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.2978, allocations: 12.84 kB / 0.5425 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.2978, allocations: 9.719 kB / 0.5425 GB, free: 3.086 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.298, allocations: 140 kB / 0.5426 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.298, allocations: 21.64 kB / 0.5427 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/0.2981, allocations: 22.53 kB / 0.5427 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.2981, allocations: 2.281 kB / 0.5427 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.2981, allocations: 5.156 kB / 0.5427 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2981, allocations: 0 / 0.5427 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.2985, allocations: 291.8 kB / 0.543 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2985, allocations: 5.25 kB / 0.543 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.128e-05/0.2986, allocations: 19.7 kB / 0.543 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001825/0.2988, allocations: 68.7 kB / 0.5431 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.2988, allocations: 2.25 kB / 0.5431 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002688/0.3015, allocations: 3.019 MB / 0.546 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3015, allocations: 0 / 0.546 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/0.3022, allocations: 396.3 kB / 0.5464 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.3022, allocations: 101.2 kB / 0.5465 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.3023, allocations: 1.531 kB / 0.5465 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.3025, allocations: 18.11 kB / 0.5465 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.3025, allocations: 14.92 kB / 0.5465 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.3025, allocations: 2.531 kB / 0.5465 GB, free: 15.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.3027, allocations: 160 kB / 0.5467 GB, free: 15 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3027, allocations: 1.406 kB / 0.5467 GB, free: 15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003515/0.3031, allocations: 63.09 kB / 0.5467 GB, free: 15 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (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.0009792/0.304, allocations: 0.9275 MB / 0.5476 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007241/0.3048, allocations: 405.5 kB / 0.548 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3048, allocations: 4.062 kB / 0.548 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.3053, allocations: 329.8 kB / 0.5484 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.3056, allocations: 27.66 kB / 0.5484 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.3093, allocations: 2.487 MB / 0.5508 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006031/0.31, allocations: 0.7469 MB / 0.5515 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.434e-05/0.3101, allocations: 21.5 kB / 0.5516 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.3102, allocations: 72.25 kB / 0.5516 GB, free: 10.79 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3102, allocations: 0 / 0.5516 GB, free: 10.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3002/0.6104, allocations: 5.016 MB / 0.5565 GB, free: 5.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.59, allocations: 12.03 kB / 0.5565 GB, free: 5.969 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1)