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.001038/0.001038, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001173, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 81.33 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09693/0.09836, allocations: 62.44 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003722/0.1021, allocations: 2.578 MB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1033, allocations: 0.6739 MB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.1035, allocations: 4 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.1036, allocations: 39.58 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.1038, allocations: 71.34 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.1041, allocations: 83.81 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.1044, allocations: 286.8 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.1046, allocations: 84.58 kB / 483.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.1048, allocations: 119.6 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.105, allocations: 127.4 kB / 484.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.105, allocations: 20 kB / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.385e-05/0.1051, allocations: 28 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.1051, allocations: 43.84 kB / 484.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1052, allocations: 131.4 kB / 484.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.1055, allocations: 283.3 kB / 484.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1055, allocations: 4 kB / 484.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1055, allocations: 0 / 484.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1055, allocations: 0 / 484.7 MB, free: 0.6133 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.0007105/0.1063, allocations: 0.5379 MB / 485.2 MB, free: 28 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1063, allocations: 12.03 kB / 485.2 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.21e-05/0.1064, allocations: 54.73 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.1065, allocations: 36.64 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.1068, allocations: 255.8 kB / 485.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1068, allocations: 12.81 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.1069, allocations: 20.38 kB / 485.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.1072, allocations: 195.4 kB / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1072, allocations: 0 / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.1072, allocations: 4 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.1072, allocations: 12 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.1075, allocations: 141.7 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.1087, allocations: 0.8063 MB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1089, allocations: 102.4 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/0.109, allocations: 48.84 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.109, allocations: 4.172 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.109, allocations: 38.5 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.109, allocations: 3.938 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001621/0.1107, allocations: 0.7173 MB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.1107, allocations: 59.34 kB / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.1109, allocations: 207 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.111, allocations: 29.7 kB / 487.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.157e-05/0.1111, allocations: 167.8 kB / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.1111, allocations: 63.19 kB / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-05/0.1112, allocations: 45.61 kB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1113, allocations: 334.8 kB / 488.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1114, allocations: 59.97 kB / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.1116, allocations: 101.1 kB / 488.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.1119, allocations: 175.5 kB / 488.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1119, allocations: 3.938 kB / 488.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005057/0.1124, allocations: 285.6 kB / 489.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1124, allocations: 7.938 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1124, allocations: 0 / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/0.1127, allocations: 73.83 kB / 489.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.1129, allocations: 31.98 kB / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.115, allocations: 3.014 MB / 492.3 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.1152, allocations: 8.031 kB / 492.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.1152, allocations: 12.06 kB / 492.3 MB, free: 8.352 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.0001172/0.1153, allocations: 141.7 kB / 492.4 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.1154, allocations: 15.81 kB / 492.4 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.1154, allocations: 26.52 kB / 492.5 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1154, allocations: 4 kB / 492.5 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1154, allocations: 0 / 492.5 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1154, allocations: 0 / 492.5 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.1157, allocations: 289.4 kB / 492.8 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1157, allocations: 4 kB / 492.8 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.403e-05/0.1158, allocations: 15.98 kB / 492.8 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001788/0.116, allocations: 73.61 kB / 492.8 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.116, allocations: 0 / 492.8 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/0.118, allocations: 3.021 MB / 495.9 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.118, allocations: 0 / 495.9 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000576/0.1186, allocations: 395.3 kB / 496.3 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.1187, allocations: 109 kB / 496.4 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.1187, allocations: 0 / 496.4 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.1189, allocations: 15.98 kB / 496.4 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.119, allocations: 11.98 kB / 496.4 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.119, allocations: 8 kB / 496.4 MB, free: 3.863 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1191, allocations: 152.4 kB / 496.5 MB, free: 3.715 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1191, allocations: 0 / 496.5 MB, free: 3.715 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003578/0.1195, allocations: 68 kB / 496.6 MB, free: 3.648 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.0008186/0.1203, allocations: 0.9319 MB / 497.5 MB, free: 2.684 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006442/0.121, allocations: 401.2 kB / 497.9 MB, free: 2.266 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.121, allocations: 0 / 497.9 MB, free: 2.266 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004262/0.1214, allocations: 339.8 kB / 498.3 MB, free: 1.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.1218, allocations: 28.05 kB / 498.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.1247, allocations: 2.479 MB / 0.489 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.125, allocations: 0.748 MB / 0.4898 GB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.07e-05/0.1251, allocations: 21.94 kB / 0.4898 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.1252, allocations: 63.42 kB / 0.4899 GB, free: 14.44 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1252, allocations: 0 / 0.4899 GB, free: 14.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.1572, allocations: 4.91 MB / 0.4946 GB, free: 9.633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.59, allocations: 8.047 kB / 0.4947 GB, free: 9.625 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)