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.001716/0.001716, allocations: 106.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002091/0.002091, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2016/0.2016, allocations: 46.11 MB / 343.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 78.5 kB / 417.1 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1065, allocations: 62.43 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.00359/0.1102, allocations: 2.635 MB / 482.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1112, allocations: 0.6661 MB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.1113, allocations: 7.938 kB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.1115, allocations: 23.83 kB / 482.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.1117, allocations: 63.47 kB / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.112, allocations: 71.88 kB / 483 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.1123, allocations: 286.8 kB / 483.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.1125, allocations: 84.58 kB / 483.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.1127, allocations: 119.6 kB / 483.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.1129, allocations: 127.4 kB / 483.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.1129, allocations: 20 kB / 483.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.055e-05/0.113, allocations: 28 kB / 483.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.1131, allocations: 51.83 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1132, allocations: 119.4 kB / 483.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.1135, allocations: 291.2 kB / 484.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1135, allocations: 4 kB / 484.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1135, allocations: 0 / 484.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1135, allocations: 0 / 484.1 MB, free: 0.9102 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.0007626/0.1143, allocations: 0.534 MB / 484.7 MB, free: 336 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1143, allocations: 8.031 kB / 484.7 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.633e-05/0.1144, allocations: 58.72 kB / 484.7 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.1146, allocations: 36.66 kB / 484.8 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.1149, allocations: 252 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.1149, allocations: 12.81 kB / 485 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.1149, allocations: 20.38 kB / 485.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.1153, allocations: 195.4 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1153, allocations: 3.938 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.1154, allocations: 8 kB / 485.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1154, allocations: 4 kB / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.1157, allocations: 149.7 kB / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.117, allocations: 0.8063 MB / 486.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.1172, allocations: 102.5 kB / 486.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.379e-05/0.1173, allocations: 48.83 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.1173, allocations: 4.125 kB / 486.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1174, allocations: 38.5 kB / 486.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.1174, allocations: 0 / 486.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001781/0.1192, allocations: 0.7197 MB / 487.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.1192, allocations: 59.34 kB / 487.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.1195, allocations: 207 kB / 487.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1195, allocations: 29.7 kB / 487.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1196, allocations: 171.8 kB / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.1197, allocations: 55.2 kB / 487.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-05/0.1197, allocations: 45.61 kB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1199, allocations: 334.8 kB / 488 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.12, allocations: 59.97 kB / 488.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.1202, allocations: 101.1 kB / 488.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.1205, allocations: 175.4 kB / 488.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1205, allocations: 0 / 488.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005255/0.1211, allocations: 289.4 kB / 488.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1211, allocations: 4 kB / 488.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1211, allocations: 0 / 488.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002469/0.1214, allocations: 73.83 kB / 488.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.1215, allocations: 32.64 kB / 488.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.1238, allocations: 3.014 MB / 491.7 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.124, allocations: 8.031 kB / 491.8 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.124, allocations: 11.98 kB / 491.8 MB, free: 8.66 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.0001335/0.1241, allocations: 149.2 kB / 491.9 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.1242, allocations: 15.81 kB / 491.9 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.1242, allocations: 21.88 kB / 491.9 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1243, allocations: 11.92 kB / 492 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1243, allocations: 0 / 492 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1243, allocations: 0 / 492 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.1246, allocations: 289.4 kB / 492.2 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1246, allocations: 0 / 492.2 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-05/0.1247, allocations: 12 kB / 492.3 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001911/0.1249, allocations: 77.66 kB / 492.3 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1249, allocations: 3.938 kB / 492.3 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.1272, allocations: 3.013 MB / 495.3 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.1272, allocations: 0 / 495.3 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006503/0.1279, allocations: 404.6 kB / 495.7 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.579e-05/0.128, allocations: 96.95 kB / 495.8 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.128, allocations: 0 / 495.8 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.1282, allocations: 20.05 kB / 495.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.1282, allocations: 15.97 kB / 495.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1283, allocations: 8 kB / 495.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.1284, allocations: 152.4 kB / 496 MB, free: 4.016 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1284, allocations: 0 / 496 MB, free: 4.016 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003543/0.1288, allocations: 64 kB / 496.1 MB, free: 3.953 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.0008568/0.1296, allocations: 0.9308 MB / 497 MB, free: 2.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006412/0.1303, allocations: 409.2 kB / 497.4 MB, free: 2.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1303, allocations: 0 / 497.4 MB, free: 2.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000422/0.1307, allocations: 325.5 kB / 497.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.1311, allocations: 40.02 kB / 497.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.1344, allocations: 2.565 MB / 0.4886 GB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.1347, allocations: 0.7518 MB / 0.4893 GB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.1348, allocations: 21.94 kB / 0.4894 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.1349, allocations: 67.41 kB / 0.4894 GB, free: 14.64 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1349, allocations: 0 / 0.4894 GB, free: 14.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.1564, allocations: 4.806 MB / 0.4941 GB, free: 9.98 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.1566, allocations: 217.2 kB / 0.4943 GB, free: 9.727 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.055, allocations: 0 / 0.4943 GB, free: 9.727 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)