Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001318/0.001318, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001468/0.001468, allocations: 210.4 kB / 18.58 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2751/0.2751, allocations: 46.12 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003265/0.003265, allocations: 81.58 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1798, allocations: 62.44 MB / 480.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.005354/0.1852, allocations: 2.582 MB / 482.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1868, allocations: 0.666 MB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.187, allocations: 4 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.1872, allocations: 43.58 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.1874, allocations: 67.34 kB / 483.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.1877, allocations: 83.84 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000408/0.1881, allocations: 290.8 kB / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.1884, allocations: 76.59 kB / 484 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.1887, allocations: 131.5 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.1889, allocations: 115.5 kB / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.281e-05/0.189, allocations: 24 kB / 484.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-05/0.1891, allocations: 24 kB / 484.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.1891, allocations: 51.83 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.1893, allocations: 123.4 kB / 484.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004168/0.1897, allocations: 287.2 kB / 484.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1898, allocations: 0 / 484.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1898, allocations: 0 / 484.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.1898, allocations: 0 / 484.7 MB, free: 0.5938 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.001046/0.1908, allocations: 0.5418 MB / 485.3 MB, free: 4 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.474e-05/0.1909, allocations: 16.02 kB / 485.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.243e-05/0.191, allocations: 50.73 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.1913, allocations: 40.58 kB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.1916, allocations: 243.9 kB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.1917, allocations: 20.8 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-05/0.1917, allocations: 24.38 kB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/0.1922, allocations: 195.4 kB / 485.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1923, allocations: 0 / 485.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.1923, allocations: 4 kB / 485.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.1923, allocations: 8 kB / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.1927, allocations: 133.7 kB / 486 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.1944, allocations: 0.8141 MB / 486.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.1947, allocations: 102.5 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.1949, allocations: 48.97 kB / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1949, allocations: 7.938 kB / 487 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.1949, allocations: 30.56 kB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.195, allocations: 3.938 kB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.002331/0.1973, allocations: 0.7241 MB / 487.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.1974, allocations: 59.34 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.1977, allocations: 207 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.1977, allocations: 33.7 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.1979, allocations: 171.8 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.1979, allocations: 55.2 kB / 488.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.951e-05/0.198, allocations: 41.61 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1982, allocations: 334.8 kB / 488.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.1984, allocations: 63.97 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.1987, allocations: 101.1 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/0.1991, allocations: 183 kB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1991, allocations: 0 / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007459/0.1999, allocations: 281.6 kB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.1999, allocations: 8 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.1999, allocations: 0 / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/0.2003, allocations: 69.67 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.2005, allocations: 31.97 kB / 489.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/0.2039, allocations: 3.018 MB / 492.4 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.2041, allocations: 12.02 kB / 492.4 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.2041, allocations: 8 kB / 492.4 MB, free: 8.328 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.0002166/0.2044, allocations: 138.2 kB / 492.5 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/0.2044, allocations: 19.88 kB / 492.5 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.363e-05/0.2045, allocations: 29.86 kB / 492.6 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2045, allocations: 0 / 492.6 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.2045, allocations: 4 kB / 492.6 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2046, allocations: 0 / 492.6 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.205, allocations: 286.1 kB / 492.8 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2051, allocations: 4 kB / 492.8 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.2052, allocations: 15.98 kB / 492.9 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/0.2054, allocations: 73.61 kB / 492.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.2055, allocations: 4 kB / 492.9 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003152/0.2086, allocations: 3.005 MB / 495.9 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.2087, allocations: 3.984 kB / 495.9 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008668/0.2095, allocations: 411.1 kB / 496.3 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.39e-05/0.2096, allocations: 92.89 kB / 496.4 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.2097, allocations: 8 kB / 496.4 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.2099, allocations: 15.98 kB / 496.5 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/0.21, allocations: 20.03 kB / 496.5 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.21, allocations: 4 kB / 496.5 MB, free: 3.836 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001985/0.2103, allocations: 156.4 kB / 496.6 MB, free: 3.684 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2103, allocations: 0 / 496.6 MB, free: 3.684 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005687/0.2108, allocations: 64 kB / 496.7 MB, free: 3.621 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.001238/0.2121, allocations: 0.9302 MB / 497.6 MB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008896/0.213, allocations: 405.2 kB / 498 MB, free: 2.238 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.213, allocations: 0 / 498 MB, free: 2.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000568/0.2136, allocations: 337.2 kB / 498.4 MB, free: 1.883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005504/0.2142, allocations: 40.38 kB / 498.4 MB, free: 1.844 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/0.2187, allocations: 2.466 MB / 0.4891 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.2192, allocations: 0.748 MB / 0.4898 GB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.2194, allocations: 17.94 kB / 0.4899 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.2195, allocations: 67.41 kB / 0.4899 GB, free: 14.41 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.2195, allocations: 0 / 0.4899 GB, free: 14.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03634/0.2559, allocations: 4.922 MB / 0.4947 GB, free: 9.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.825/10.08, allocations: 4.062 kB / 0.4947 GB, free: 9.605 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1)