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.001622/0.001622, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009253/0.0009256, allocations: 96.09 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.264/0.264, allocations: 45.14 MB / 383.8 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.727e-05/1.73e-05, allocations: 0 / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1253, allocations: 63.25 MB / 0.5044 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4792/0.6046, allocations: 89.11 MB / 0.5915 GB, free: 13.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.6049, allocations: 66.34 kB / 0.5915 GB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01096/0.6158, allocations: 4.139 MB / 0.5956 GB, free: 9.969 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6159, allocations: 0 / 0.5956 GB, free: 9.969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.6159, allocations: 4 kB / 0.5956 GB, free: 9.965 MB / 394.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.0006477/0.6165, allocations: 497.9 kB / 0.5961 GB, free: 9.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.6166, allocations: 8.031 kB / 0.5961 GB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.6168, allocations: 43.59 kB / 0.5961 GB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.6172, allocations: 241 kB / 0.5963 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.6172, allocations: 8 kB / 0.5963 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.6172, allocations: 16.75 kB / 0.5964 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002387/0.6175, allocations: 116.8 kB / 0.5965 GB, free: 9.047 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.6178, allocations: 148.3 kB / 0.5966 GB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.6178, allocations: 0 / 0.5966 GB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.6178, allocations: 4 kB / 0.5966 GB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.6179, allocations: 4 kB / 0.5966 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.6191, allocations: 0.7692 MB / 0.5974 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.6192, allocations: 89.39 kB / 0.5975 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.227e-05/0.6193, allocations: 43.78 kB / 0.5975 GB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.6193, allocations: 0 / 0.5975 GB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.6193, allocations: 34.69 kB / 0.5975 GB, free: 8.055 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.6194, allocations: 0 / 0.5975 GB, free: 8.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001296/0.6207, allocations: 0.607 MB / 0.5981 GB, free: 7.469 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.6207, allocations: 55.09 kB / 0.5982 GB, free: 7.406 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.6209, allocations: 175.6 kB / 0.5983 GB, free: 7.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.6209, allocations: 29.7 kB / 0.5984 GB, free: 7.215 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/0.621, allocations: 169.4 kB / 0.5985 GB, free: 7.062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.6211, allocations: 58.62 kB / 0.5986 GB, free: 7.012 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-06/0.6211, allocations: 0 / 0.5986 GB, free: 7.012 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.6212, allocations: 329.3 kB / 0.5989 GB, free: 6.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.673e-05/0.6213, allocations: 44.75 kB / 0.5989 GB, free: 6.664 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.6214, allocations: 91.92 kB / 0.599 GB, free: 6.578 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.383e-05/0.6215, allocations: 58.05 kB / 0.5991 GB, free: 6.543 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.6215, allocations: 0 / 0.5991 GB, free: 6.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004151/0.6219, allocations: 246.8 kB / 0.5993 GB, free: 6.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.6219, allocations: 4 kB / 0.5993 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.622, allocations: 0 / 0.5993 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.6222, allocations: 66.06 kB / 0.5994 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.6223, allocations: 31.97 kB / 0.5994 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.6244, allocations: 2.692 MB / 0.602 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.6245, allocations: 7.984 kB / 0.6021 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.6245, allocations: 8 kB / 0.6021 GB, free: 3.496 MB / 394.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 () * 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 9.135e-05/0.6246, allocations: 105 kB / 0.6022 GB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003365/0.625, allocations: 194.8 kB / 0.6023 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.625, allocations: 15.81 kB / 0.6024 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.6251, allocations: 24.14 kB / 0.6024 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6251, allocations: 4 kB / 0.6024 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.6251, allocations: 0 / 0.6024 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6251, allocations: 0 / 0.6024 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.6254, allocations: 243.2 kB / 0.6026 GB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.6254, allocations: 0 / 0.6026 GB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.209e-05/0.6255, allocations: 19.98 kB / 0.6026 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001955/0.6257, allocations: 75.16 kB / 0.6027 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.6257, allocations: 3.938 kB / 0.6027 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.6276, allocations: 2.667 MB / 0.6053 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6276, allocations: 0 / 0.6053 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/0.6281, allocations: 355.8 kB / 0.6057 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.6281, allocations: 92.64 kB / 0.6057 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.6282, allocations: 3.984 kB / 0.6058 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.6283, allocations: 12 kB / 0.6058 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.6284, allocations: 23.75 kB / 0.6058 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.6284, allocations: 11.31 kB / 0.6058 GB, free: 15.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.6285, allocations: 142.8 kB / 0.6059 GB, free: 15.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6285, allocations: 0 / 0.6059 GB, free: 15.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000335/0.6289, allocations: 59.94 kB / 0.606 GB, free: 15.5 MB / 410.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 () * 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.0007511/0.6296, allocations: 0.8807 MB / 0.6069 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005041/0.6302, allocations: 357 kB / 0.6072 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6302, allocations: 4 kB / 0.6072 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.6305, allocations: 294.1 kB / 0.6075 GB, free: 14.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.6308, allocations: 13.38 kB / 0.6075 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000865/0.6316, allocations: 388 kB / 0.6079 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.632, allocations: 0.7477 MB / 0.6086 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.375e-05/0.6321, allocations: 29.72 kB / 0.6086 GB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/0.6322, allocations: 66.41 kB / 0.6087 GB, free: 12.83 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6322, allocations: 0 / 0.6087 GB, free: 12.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.6553, allocations: 3.734 MB / 0.6123 GB, free: 9.121 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.6556, allocations: 141.2 kB / 0.6125 GB, free: 8.926 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.36, allocations: 0 / 0.6125 GB, free: 8.926 MB / 410.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)