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.001567/0.001568, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001938/0.001938, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.3 MB, free: 9.023 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1965/0.1965, allocations: 46.12 MB / 343.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 73.28 kB / 416.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1022, allocations: 62.44 MB / 479.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003723/0.1059, allocations: 2.619 MB / 482 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1072, allocations: 0.6739 MB / 482.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.1074, allocations: 7.938 kB / 482.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.1075, allocations: 31.77 kB / 482.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.1077, allocations: 59.52 kB / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.108, allocations: 75.86 kB / 482.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.1083, allocations: 274.8 kB / 483.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.1085, allocations: 68.59 kB / 483.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.1087, allocations: 111.6 kB / 483.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.1089, allocations: 115.4 kB / 483.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.1089, allocations: 16 kB / 483.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.112e-05/0.109, allocations: 19.98 kB / 483.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.887e-05/0.109, allocations: 47.83 kB / 483.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1092, allocations: 115.4 kB / 483.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.1094, allocations: 275.2 kB / 483.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1094, allocations: 4 kB / 483.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1094, allocations: 0 / 483.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1095, allocations: 0 / 483.9 MB, free: 1.062 MB / 350.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.0007578/0.1102, allocations: 0.5379 MB / 484.4 MB, free: 488 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1103, allocations: 8.875 kB / 484.4 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.45e-05/0.1104, allocations: 58.72 kB / 484.5 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.1105, allocations: 32.66 kB / 484.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.1108, allocations: 251.8 kB / 484.7 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1108, allocations: 16.81 kB / 484.8 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.1109, allocations: 20.38 kB / 484.8 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.1112, allocations: 199.5 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1112, allocations: 0 / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.1113, allocations: 4 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1113, allocations: 8 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.1116, allocations: 141.7 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.1128, allocations: 0.8179 MB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.113, allocations: 98.47 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.404e-05/0.1131, allocations: 53.03 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.1131, allocations: 3.938 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1131, allocations: 34.56 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.1132, allocations: 0 / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001641/0.1148, allocations: 0.7163 MB / 486.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.1149, allocations: 59.34 kB / 486.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.115, allocations: 211 kB / 487.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1151, allocations: 29.7 kB / 487.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/0.1152, allocations: 167.8 kB / 487.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.1152, allocations: 59.19 kB / 487.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.828e-05/0.1153, allocations: 45.61 kB / 487.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1154, allocations: 334.8 kB / 487.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1155, allocations: 59.97 kB / 487.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.1157, allocations: 101.1 kB / 487.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.116, allocations: 177 kB / 488.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.116, allocations: 0 / 488.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004944/0.1165, allocations: 281.2 kB / 488.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1165, allocations: 4.156 kB / 488.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1165, allocations: 4 kB / 488.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002244/0.1168, allocations: 69.67 kB / 488.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.1169, allocations: 35.97 kB / 488.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.119, allocations: 2.805 MB / 491.3 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.1191, allocations: 7.984 kB / 491.3 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.1192, allocations: 8 kB / 491.3 MB, free: 9.035 MB / 366.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.000118/0.1193, allocations: 134.4 kB / 491.4 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.1193, allocations: 15.81 kB / 491.4 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.1194, allocations: 33.86 kB / 491.4 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1194, allocations: 4 kB / 491.4 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1194, allocations: 0 / 491.4 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1194, allocations: 0 / 491.4 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.1197, allocations: 289.5 kB / 491.7 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1197, allocations: 3.938 kB / 491.7 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.076e-05/0.1198, allocations: 15.98 kB / 491.8 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001817/0.12, allocations: 69.61 kB / 491.8 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.12, allocations: 11.94 kB / 491.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.1219, allocations: 2.8 MB / 494.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.1219, allocations: 3.984 kB / 494.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005829/0.1225, allocations: 396.8 kB / 495 MB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.1226, allocations: 100.8 kB / 495.1 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.1226, allocations: 4 kB / 495.1 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.1228, allocations: 20.05 kB / 495.1 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.1229, allocations: 11.98 kB / 495.2 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.1229, allocations: 7.984 kB / 495.2 MB, free: 4.762 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.123, allocations: 156.4 kB / 495.3 MB, free: 4.609 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.123, allocations: 0 / 495.3 MB, free: 4.609 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003382/0.1234, allocations: 64 kB / 495.4 MB, free: 4.547 MB / 366.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.000809/0.1242, allocations: 0.9272 MB / 496.3 MB, free: 3.586 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005752/0.1248, allocations: 408.2 kB / 496.7 MB, free: 3.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1248, allocations: 0 / 496.7 MB, free: 3.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003945/0.1252, allocations: 325.2 kB / 497 MB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1255, allocations: 36.16 kB / 497.1 MB, free: 2.785 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.1285, allocations: 2.577 MB / 499.6 MB, free: 104 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.1288, allocations: 0.748 MB / 0.4887 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.49e-05/0.1289, allocations: 17.94 kB / 0.4887 GB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.833e-05/0.1291, allocations: 67.41 kB / 0.4887 GB, free: 15.24 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1291, allocations: 7.938 kB / 0.4887 GB, free: 15.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4533/0.5824, allocations: 4.649 MB / 0.4933 GB, free: 10.71 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.5826, allocations: 220.1 kB / 0.4935 GB, free: 10.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.386, allocations: 4.062 kB / 0.4935 GB, free: 10.45 MB / 382.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)