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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001761/0.001761, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.2 MB / 245 MB, free: 7.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000883/0.000883, allocations: 92.17 kB / 297.2 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4256/0.4256, allocations: 45.22 MB / 394.6 MB, free: 31.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004336, allocations: 8 kB / 468.5 MB, free: 7.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5546/0.5551, allocations: 63.25 MB / 0.5193 GB, free: 43.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.7022, allocations: 89.85 MB / 0.607 GB, free: 15.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.7026, allocations: 67.94 kB / 0.6071 GB, free: 15.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01167/0.7143, allocations: 4.178 MB / 0.6111 GB, free: 11.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7143, allocations: 0 / 0.6111 GB, free: 11.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.7143, allocations: 4 kB / 0.6111 GB, free: 11.55 MB / 426.7 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.0008238/0.7152, allocations: 0.5145 MB / 0.6117 GB, free: 10.99 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.7152, allocations: 8.031 kB / 0.6117 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.672e-05/0.7153, allocations: 58.77 kB / 0.6117 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.7155, allocations: 47.66 kB / 0.6118 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.7159, allocations: 241.5 kB / 0.612 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.716, allocations: 16.44 kB / 0.612 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.716, allocations: 20 kB / 0.612 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.7164, allocations: 191.2 kB / 0.6122 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.7164, allocations: 3.984 kB / 0.6122 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.7165, allocations: 16 kB / 0.6122 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.7165, allocations: 4 kB / 0.6122 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.7168, allocations: 137.7 kB / 0.6124 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.7182, allocations: 0.8238 MB / 0.6132 GB, free: 9.309 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.7184, allocations: 98.48 kB / 0.6133 GB, free: 9.203 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.7184, allocations: 4 kB / 0.6133 GB, free: 9.199 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.7185, allocations: 30.56 kB / 0.6133 GB, free: 9.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.7185, allocations: 0 / 0.6133 GB, free: 9.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.001784/0.7203, allocations: 0.7508 MB / 0.614 GB, free: 8.352 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.7203, allocations: 55.41 kB / 0.6141 GB, free: 8.285 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.7205, allocations: 187 kB / 0.6143 GB, free: 8.094 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.7205, allocations: 29.8 kB / 0.6143 GB, free: 8.059 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.7207, allocations: 171.8 kB / 0.6144 GB, free: 7.887 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/0.7207, allocations: 59.11 kB / 0.6145 GB, free: 7.828 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/0.7207, allocations: 4 kB / 0.6145 GB, free: 7.824 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.7209, allocations: 334.8 kB / 0.6148 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.721, allocations: 63.97 kB / 0.6149 GB, free: 7.426 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.7212, allocations: 109.1 kB / 0.615 GB, free: 7.301 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.7214, allocations: 73.53 kB / 0.6151 GB, free: 7.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.7214, allocations: 8 kB / 0.6151 GB, free: 7.223 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005232/0.7219, allocations: 285.2 kB / 0.6153 GB, free: 6.934 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.722, allocations: 12.16 kB / 0.6154 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.722, allocations: 0 / 0.6154 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002414/0.7222, allocations: 73.66 kB / 0.6154 GB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.7224, allocations: 31.92 kB / 0.6155 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.7247, allocations: 2.831 MB / 0.6182 GB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.7249, allocations: 8.031 kB / 0.6182 GB, free: 3.707 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.7249, allocations: 8 kB / 0.6182 GB, free: 3.699 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.7251, allocations: 137.9 kB / 0.6184 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.7251, allocations: 20.09 kB / 0.6184 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.237e-05/0.7252, allocations: 29.8 kB / 0.6184 GB, free: 3.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7252, allocations: 7.922 kB / 0.6184 GB, free: 3.492 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.7252, allocations: 0 / 0.6184 GB, free: 3.492 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.7252, allocations: 4 kB / 0.6184 GB, free: 3.488 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.7256, allocations: 289.5 kB / 0.6187 GB, free: 3.156 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7256, allocations: 0 / 0.6187 GB, free: 3.156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.785e-05/0.7257, allocations: 19.98 kB / 0.6187 GB, free: 3.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/0.7259, allocations: 69.67 kB / 0.6188 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.7259, allocations: 4 kB / 0.6188 GB, free: 3.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/0.7281, allocations: 2.825 MB / 0.6216 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.7281, allocations: 0 / 0.6216 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.7287, allocations: 402.5 kB / 0.6219 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.781e-05/0.7288, allocations: 92.95 kB / 0.622 GB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.7288, allocations: 4 kB / 0.622 GB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.729, allocations: 19.98 kB / 0.622 GB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.609e-05/0.7291, allocations: 23.97 kB / 0.6221 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.7291, allocations: 8 kB / 0.6221 GB, free: 15.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001322/0.7293, allocations: 144.2 kB / 0.6222 GB, free: 15.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7293, allocations: 0 / 0.6222 GB, free: 15.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003506/0.7296, allocations: 64 kB / 0.6223 GB, free: 15.18 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009224/0.7305, allocations: 0.9555 MB / 0.6232 GB, free: 14.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006551/0.7312, allocations: 409.6 kB / 0.6236 GB, free: 13.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.7312, allocations: 8.25 kB / 0.6236 GB, free: 13.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004272/0.7317, allocations: 319.6 kB / 0.6239 GB, free: 13.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.7319, allocations: 31.92 kB / 0.6239 GB, free: 13.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.7345, allocations: 2.154 MB / 0.626 GB, free: 11.17 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.7349, allocations: 0.7518 MB / 0.6268 GB, free: 10.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.735, allocations: 21.94 kB / 0.6268 GB, free: 10.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.7351, allocations: 67.41 kB / 0.6269 GB, free: 10.3 MB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/0.7351, allocations: 0 / 0.6269 GB, free: 10.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.7533, allocations: 4.423 MB / 0.6312 GB, free: 6.086 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.7535, allocations: 197.5 kB / 0.6314 GB, free: 5.844 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.613, allocations: 2.812 kB / 0.6314 GB, free: 5.844 MB / 442.7 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/linux/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)