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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 210.2 kB / 8.54 MB, free: 2.641 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.15/1.15, allocations: 225.5 MB / 234.4 MB, free: 3.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009416/0.0009415, allocations: 92.89 kB / 286.4 MB, free: 0.5039 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2804/0.2804, allocations: 45.15 MB / 383.3 MB, free: 43.08 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1159/0.3963, allocations: 69.36 MB / 452.7 MB, free: 8.742 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.658, allocations: 63.24 MB / 0.5038 GB, free: 41.35 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09618/0.7542, allocations: 89.05 MB / 0.5908 GB, free: 8.953 MB / 414.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.7544, allocations: 63.97 kB / 0.5909 GB, free: 8.891 MB / 414.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.01126/0.7657, allocations: 4.358 MB / 0.5951 GB, free: 4.488 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.7658, allocations: 8 kB / 0.5951 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.7659, allocations: 35.7 kB / 0.5952 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.7663, allocations: 244.3 kB / 0.5954 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.7663, allocations: 4 kB / 0.5954 GB, free: 4.164 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.7663, allocations: 16 kB / 0.5954 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002509/0.7666, allocations: 120.8 kB / 0.5955 GB, free: 4.031 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.7669, allocations: 150.5 kB / 0.5957 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.7669, allocations: 0 / 0.5957 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.7669, allocations: 3.906 kB / 0.5957 GB, free: 3.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.7669, allocations: 4 kB / 0.5957 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.7681, allocations: 0.7761 MB / 0.5965 GB, free: 3.035 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.607e-05/0.7682, allocations: 53.62 kB / 0.5965 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.686e-05/0.7683, allocations: 40.86 kB / 0.5965 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.7683, allocations: 0 / 0.5965 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.7684, allocations: 34.56 kB / 0.5966 GB, free: 2.891 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.7684, allocations: 4 kB / 0.5966 GB, free: 2.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001372/0.7698, allocations: 0.6044 MB / 0.5972 GB, free: 2.223 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.7698, allocations: 51.41 kB / 0.5972 GB, free: 2.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.77, allocations: 171.2 kB / 0.5974 GB, free: 1.984 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.77, allocations: 29.64 kB / 0.5974 GB, free: 1.949 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/0.7701, allocations: 155.9 kB / 0.5976 GB, free: 1.793 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.7701, allocations: 55.11 kB / 0.5976 GB, free: 1.738 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/0.7702, allocations: 3.938 kB / 0.5976 GB, free: 1.734 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7703, allocations: 330.8 kB / 0.5979 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.7704, allocations: 48 kB / 0.598 GB, free: 1.355 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.7705, allocations: 86.86 kB / 0.5981 GB, free: 1.254 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.7706, allocations: 56.2 kB / 0.5981 GB, free: 1.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7706, allocations: 0 / 0.5981 GB, free: 1.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004259/0.7711, allocations: 248.4 kB / 0.5983 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.7711, allocations: 8 kB / 0.5984 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.7711, allocations: 0 / 0.5984 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002239/0.7713, allocations: 65.84 kB / 0.5984 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.7715, allocations: 39.91 kB / 0.5985 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.7736, allocations: 2.657 MB / 0.6011 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.7738, allocations: 11.98 kB / 0.6011 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.7738, allocations: 8.125 kB / 0.6011 GB, free: 13.93 MB / 430.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 () * 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.0001006/0.7739, allocations: 109 kB / 0.6012 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.774, allocations: 15.81 kB / 0.6012 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.774, allocations: 17.59 kB / 0.6012 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.774, allocations: 4 kB / 0.6012 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.774, allocations: 7.891 kB / 0.6012 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.774, allocations: 0 / 0.6012 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.7743, allocations: 238.1 kB / 0.6014 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7743, allocations: 4.047 kB / 0.6014 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.7744, allocations: 27.91 kB / 0.6015 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002052/0.7747, allocations: 69.67 kB / 0.6015 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.7747, allocations: 0 / 0.6015 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/0.7766, allocations: 2.657 MB / 0.6041 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7766, allocations: 0 / 0.6041 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000457/0.7771, allocations: 343.3 kB / 0.6045 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006556/0.7777, allocations: 0.7785 MB / 0.6052 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.7778, allocations: 92.92 kB / 0.6053 GB, free: 9.234 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.7778, allocations: 0 / 0.6053 GB, free: 9.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.778, allocations: 15.98 kB / 0.6053 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.7781, allocations: 15.95 kB / 0.6053 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.7781, allocations: 7.984 kB / 0.6054 GB, free: 9.195 MB / 430.1 MB Notification: Performance of sort global known variables: time 0.0001064/0.7782, allocations: 143.1 kB / 0.6055 GB, free: 9.055 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009528/0.7792, allocations: 56 kB / 0.6055 GB, free: 9 MB / 430.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 () * 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.0001207/0.7793, allocations: 103.2 kB / 0.6056 GB, free: 8.887 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005056/0.7798, allocations: 341.8 kB / 0.606 GB, free: 8.535 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7798, allocations: 0 / 0.606 GB, free: 8.535 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.7802, allocations: 280.4 kB / 0.6062 GB, free: 8.242 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.7804, allocations: 28.3 kB / 0.6063 GB, free: 8.211 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007663/0.7812, allocations: 329.2 kB / 0.6066 GB, free: 7.863 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/0.7816, allocations: 0.7729 MB / 0.6073 GB, free: 7.066 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.7816, allocations: 3.938 kB / 0.6073 GB, free: 7.062 MB / 430.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/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)