Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.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) 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(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit",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.001151/0.001151, allocations: 195.4 kB / 8.538 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.094/1.094, allocations: 225.5 MB / 234.4 MB, free: 14.95 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009466/0.0009466, allocations: 101.2 kB / 286.4 MB, free: 12.63 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09189/0.09287, allocations: 56.88 MB / 343.2 MB, free: 3.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.2628, allocations: 51.46 MB / 394.7 MB, free: 33.24 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08881/0.3516, allocations: 91.51 MB / 486.2 MB, free: 5.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.3519, allocations: 71.97 kB / 486.3 MB, free: 5.52 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.1967/0.5486, allocations: 37.4 MB / 0.5114 GB, free: 90.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.5486, allocations: 6.656 kB / 0.5114 GB, free: 90.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.5489, allocations: 132.9 kB / 0.5115 GB, free: 90.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008655/0.5498, allocations: 0.7507 MB / 0.5123 GB, free: 89.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.5498, allocations: 7.688 kB / 0.5123 GB, free: 89.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.5498, allocations: 11.72 kB / 0.5123 GB, free: 89.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003122/0.5502, allocations: 209.5 kB / 0.5125 GB, free: 89.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.5505, allocations: 266.3 kB / 0.5127 GB, free: 89.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.5505, allocations: 0 / 0.5127 GB, free: 89.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.5505, allocations: 4 kB / 0.5127 GB, free: 89.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.5506, allocations: 11.69 kB / 0.5127 GB, free: 89.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.552, allocations: 1.133 MB / 0.5139 GB, free: 88.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.5522, allocations: 150.7 kB / 0.514 GB, free: 88.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.5524, allocations: 204.3 kB / 0.5142 GB, free: 88.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008577/0.561, allocations: 11.06 MB / 0.525 GB, free: 78.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.561, allocations: 35.88 kB / 0.525 GB, free: 78.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 1.934e-06/0.561, allocations: 4 kB / 0.525 GB, free: 78.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006132/0.5616, allocations: 338.6 kB / 0.5254 GB, free: 77.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.5617, allocations: 85.05 kB / 0.5254 GB, free: 77.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005911/0.5623, allocations: 0.5979 MB / 0.526 GB, free: 77.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.5623, allocations: 25.7 kB / 0.526 GB, free: 77.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.556e-05/0.5624, allocations: 253.6 kB / 0.5263 GB, free: 77.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.5625, allocations: 74.53 kB / 0.5264 GB, free: 76.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.5625, allocations: 0 / 0.5264 GB, free: 76.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.547e-05/0.5625, allocations: 317.8 kB / 0.5267 GB, free: 76.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.682e-05/0.5626, allocations: 52.23 kB / 0.5267 GB, free: 76.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.5627, allocations: 133.4 kB / 0.5268 GB, free: 76.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.5629, allocations: 71.59 kB / 0.5269 GB, free: 76.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5629, allocations: 0 / 0.5269 GB, free: 76.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000468/0.5633, allocations: 372.1 kB / 0.5273 GB, free: 76.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.5634, allocations: 8 kB / 0.5273 GB, free: 76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/0.5634, allocations: 12 kB / 0.5273 GB, free: 75.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003081/0.5637, allocations: 139.5 kB / 0.5274 GB, free: 75.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.5639, allocations: 39.2 kB / 0.5275 GB, free: 75.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005286/0.5644, allocations: 0.7278 MB / 0.5282 GB, free: 75.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.5647, allocations: 31.48 kB / 0.5282 GB, free: 75.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.5648, allocations: 12 kB / 0.5282 GB, free: 75.07 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: J1.Dinternal:VARIABLE(unit = "V" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.5649, allocations: 109.9 kB / 0.5283 GB, free: 74.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-05/0.565, allocations: 102.8 kB / 0.5284 GB, free: 74.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009106/0.5659, allocations: 441.4 kB / 0.5288 GB, free: 74.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5659, allocations: 4 kB / 0.5288 GB, free: 74.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5659, allocations: 0 / 0.5288 GB, free: 74.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5659, allocations: 7.797 kB / 0.5288 GB, free: 74.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.5664, allocations: 477.7 kB / 0.5293 GB, free: 74.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/0.5664, allocations: 8 kB / 0.5293 GB, free: 74.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.5666, allocations: 31.67 kB / 0.5293 GB, free: 74.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002448/0.5668, allocations: 127.9 kB / 0.5295 GB, free: 73.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.5668, allocations: 4 kB / 0.5295 GB, free: 73.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004777/0.5673, allocations: 0.7269 MB / 0.5302 GB, free: 73.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5673, allocations: 0 / 0.5302 GB, free: 73.16 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004466/0.5678, allocations: 441.7 kB / 0.5306 GB, free: 72.73 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005085/0.5683, allocations: 0.8289 MB / 0.5314 GB, free: 71.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.5685, allocations: 170.9 kB / 0.5316 GB, free: 71.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.5686, allocations: 0 / 0.5316 GB, free: 71.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.5688, allocations: 15.19 kB / 0.5316 GB, free: 71.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.5689, allocations: 15.52 kB / 0.5316 GB, free: 71.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.5689, allocations: 8 kB / 0.5316 GB, free: 71.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004462/0.5694, allocations: 476.8 kB / 0.5321 GB, free: 71.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001133/0.5705, allocations: 220.1 kB / 0.5323 GB, free: 71.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004695/0.571, allocations: 327.3 kB / 0.5326 GB, free: 70.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004363/0.5714, allocations: 250.1 kB / 0.5328 GB, free: 70.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5715, allocations: 0.5625 kB / 0.5328 GB, free: 70.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.5717, allocations: 166.9 kB / 0.533 GB, free: 70.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.5723, allocations: 146.3 kB / 0.5331 GB, free: 70.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.5737, allocations: 0.8178 MB / 0.5339 GB, free: 69.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/0.5741, allocations: 1.01 MB / 0.5349 GB, free: 68.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5741, allocations: 0 / 0.5349 GB, free: 68.52 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1)