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.001175/0.001176, allocations: 117.6 kB / 17.79 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.001219/0.00122, allocations: 199.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2181/0.2181, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 83.86 kB / 480.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.377, allocations: 62.42 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004285/0.3813, allocations: 2.593 MB / 0.533 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.3826, allocations: 0.66 MB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.3827, allocations: 3.781 kB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.3829, allocations: 39.36 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.383, allocations: 80.55 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.3833, allocations: 78.81 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003452/0.3837, allocations: 286.2 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.3839, allocations: 93.42 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.3842, allocations: 122.4 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.3843, allocations: 117.8 kB / 0.5344 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.3844, allocations: 23.38 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-05/0.3845, allocations: 32.75 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.3845, allocations: 50.7 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.3846, allocations: 124.7 kB / 0.5347 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.385, allocations: 292.2 kB / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.385, allocations: 0 / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.385, allocations: 0 / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.385, allocations: 0 / 0.5349 GB, free: 9.941 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.0008227/0.3858, allocations: 0.5369 MB / 0.5355 GB, free: 9.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.3859, allocations: 10.56 kB / 0.5355 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.117e-05/0.386, allocations: 57.67 kB / 0.5355 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.3861, allocations: 35.67 kB / 0.5356 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.3865, allocations: 258.2 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3865, allocations: 12.66 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.3865, allocations: 21.78 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.3869, allocations: 190.6 kB / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3869, allocations: 0 / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.3869, allocations: 10.16 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3869, allocations: 9.594 kB / 0.536 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.3872, allocations: 141.5 kB / 0.5362 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.3885, allocations: 0.8032 MB / 0.537 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.3887, allocations: 100.2 kB / 0.5371 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.828e-05/0.3888, allocations: 50.81 kB / 0.5371 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.3888, allocations: 10.25 kB / 0.5371 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.3889, allocations: 35.64 kB / 0.5372 GB, free: 8.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.3889, allocations: 0 / 0.5372 GB, free: 8.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001999/0.3909, allocations: 0.7213 MB / 0.5379 GB, free: 7.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.3909, allocations: 53.59 kB / 0.5379 GB, free: 7.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.3912, allocations: 211.3 kB / 0.5381 GB, free: 7.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.3912, allocations: 30.77 kB / 0.5381 GB, free: 7.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.3913, allocations: 172.7 kB / 0.5383 GB, free: 7.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.3914, allocations: 54.09 kB / 0.5384 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.399e-05/0.3915, allocations: 43.23 kB / 0.5384 GB, free: 7.016 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3917, allocations: 332 kB / 0.5387 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.3918, allocations: 59.94 kB / 0.5388 GB, free: 6.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.392, allocations: 110.8 kB / 0.5389 GB, free: 6.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.3923, allocations: 173.3 kB / 0.539 GB, free: 6.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3923, allocations: 4 kB / 0.539 GB, free: 6.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004921/0.3928, allocations: 279.5 kB / 0.5393 GB, free: 6.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3929, allocations: 5.281 kB / 0.5393 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3929, allocations: 2.781 kB / 0.5393 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002327/0.3931, allocations: 70.83 kB / 0.5394 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.3933, allocations: 28.14 kB / 0.5394 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/0.3956, allocations: 3.019 MB / 0.5424 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.3957, allocations: 9.094 kB / 0.5424 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.3958, allocations: 6.25 kB / 0.5424 GB, free: 3.195 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.0001412/0.3959, allocations: 151.9 kB / 0.5425 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.396, allocations: 18.44 kB / 0.5425 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.396, allocations: 22.09 kB / 0.5426 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.396, allocations: 1.156 kB / 0.5426 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.396, allocations: 2.219 kB / 0.5426 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.396, allocations: 3.984 kB / 0.5426 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.3963, allocations: 284.2 kB / 0.5428 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3964, allocations: 0 / 0.5428 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.99e-05/0.3964, allocations: 16.11 kB / 0.5429 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000185/0.3966, allocations: 78.27 kB / 0.5429 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.3967, allocations: 9.016 kB / 0.5429 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.3988, allocations: 3.007 MB / 0.5459 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3988, allocations: 0 / 0.5459 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005795/0.3994, allocations: 404 kB / 0.5463 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.3995, allocations: 93.69 kB / 0.5463 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.3995, allocations: 4 kB / 0.5464 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.3997, allocations: 14.2 kB / 0.5464 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.3997, allocations: 15.39 kB / 0.5464 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.3998, allocations: 8.766 kB / 0.5464 GB, free: 15.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.3999, allocations: 155.1 kB / 0.5465 GB, free: 15.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3999, allocations: 0 / 0.5465 GB, free: 15.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003692/0.4003, allocations: 64.66 kB / 0.5466 GB, free: 15.11 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.0008479/0.4011, allocations: 0.9226 MB / 0.5475 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006393/0.4018, allocations: 400.6 kB / 0.5479 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4018, allocations: 5.5 kB / 0.5479 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.4022, allocations: 337.1 kB / 0.5482 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.4025, allocations: 36.22 kB / 0.5482 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.4057, allocations: 2.48 MB / 0.5507 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.4061, allocations: 0.7464 MB / 0.5514 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.4062, allocations: 26.08 kB / 0.5514 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.953e-05/0.4063, allocations: 63.33 kB / 0.5515 GB, free: 10.92 MB / 414.1 MB Notification: Performance of SimCode: time 5.1e-07/0.4063, allocations: 1.188 kB / 0.5515 GB, free: 10.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.4345, allocations: 5.002 MB / 0.5564 GB, free: 6.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.288/9.723, allocations: 22.47 kB / 0.5564 GB, free: 6.129 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)