Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.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: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002074/0.002074, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 114.5 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 51.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2801, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.005482/0.2857, allocations: 4.984 MB / 412 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002851/0.2886, allocations: 1.295 MB / 413.3 MB, free: 21.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009788/0.2896, allocations: 15.94 kB / 413.3 MB, free: 21.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005316/0.2902, allocations: 87.28 kB / 413.4 MB, free: 21.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009959/0.2912, allocations: 226.1 kB / 413.6 MB, free: 21.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009803/0.2922, allocations: 267.7 kB / 413.9 MB, free: 20.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.2935, allocations: 1.044 MB / 415 MB, free: 19.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000437/0.294, allocations: 231.4 kB / 415.2 MB, free: 19.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007942/0.2948, allocations: 378.5 kB / 415.5 MB, free: 19.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008582/0.2957, allocations: 438 kB / 416 MB, free: 18.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002789/0.2959, allocations: 52 kB / 416 MB, free: 18.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.2964, allocations: 75.98 kB / 416.1 MB, free: 18.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.2966, allocations: 163.3 kB / 416.3 MB, free: 18.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005518/0.2971, allocations: 413.8 kB / 416.7 MB, free: 18.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009254/0.2981, allocations: 0.959 MB / 417.6 MB, free: 17.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2981, allocations: 0 / 417.6 MB, free: 17.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2981, allocations: 0 / 417.6 MB, free: 17.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.894e-05/0.2981, allocations: 0 / 417.6 MB, free: 17.18 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002884/0.301, allocations: 1.258 MB / 418.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3011, allocations: 8.031 kB / 418.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.3013, allocations: 95.81 kB / 419 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006192/0.302, allocations: 475.6 kB / 419.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.302, allocations: 53.69 kB / 419.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.3021, allocations: 64.28 kB / 419.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.3034, allocations: 0.6626 MB / 420.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.3035, allocations: 0 / 420.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/0.3035, allocations: 24 kB / 420.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3035, allocations: 20 kB / 420.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.3051, allocations: 0.6883 MB / 421 MB, free: 13.73 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003768/0.3089, allocations: 2.386 MB / 423.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.3103, allocations: 0.5927 MB / 423.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006633/0.3109, allocations: 335.5 kB / 424.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.148e-05/0.311, allocations: 8.438 kB / 424.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009228/0.3119, allocations: 429.4 kB / 424.7 MB, free: 9.805 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 3.095e-06/0.3119, allocations: 0 / 424.7 MB, free: 9.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.06759/0.3795, allocations: 15.41 MB / 440.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.3797, allocations: 137.5 kB / 440.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008754/0.3806, allocations: 0.5225 MB / 440.8 MB, free: 9.602 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002824/0.3809, allocations: 41.7 kB / 440.8 MB, free: 9.555 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004349/0.3814, allocations: 387.8 kB / 441.2 MB, free: 9.168 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005054/0.3819, allocations: 319.5 kB / 441.5 MB, free: 8.852 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004971/0.3824, allocations: 182.5 kB / 441.7 MB, free: 8.668 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002536/0.3827, allocations: 386.7 kB / 442 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002346/0.385, allocations: 0.7243 MB / 442.8 MB, free: 7.559 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002574/0.3876, allocations: 0.9551 MB / 443.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004568/0.3922, allocations: 1.693 MB / 445.4 MB, free: 4.723 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.3923, allocations: 4 kB / 445.4 MB, free: 4.719 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02418/0.4164, allocations: 5.37 MB / 450.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.4166, allocations: 67.39 kB / 450.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.479e-05/0.4167, allocations: 4.125 kB / 450.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03568/0.4524, allocations: 6.852 MB / 457.7 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009433/0.4534, allocations: 151.7 kB / 457.9 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007901/0.4614, allocations: 3.165 MB / 461 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/0.4636, allocations: 187.8 kB / 461.2 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003569/0.464, allocations: 47.97 kB / 461.3 MB, free: 4.766 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0008382/0.4648, allocations: 226.2 kB / 461.5 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004495/0.4653, allocations: 79.06 kB / 461.6 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02328/0.4886, allocations: 5.107 MB / 466.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.4887, allocations: 8 kB / 466.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.4887, allocations: 0 / 466.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-05/0.4887, allocations: 7.984 kB / 466.7 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.4906, allocations: 1.108 MB / 467.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.4906, allocations: 0 / 467.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/0.4912, allocations: 95.81 kB / 467.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03429/0.5255, allocations: 6.809 MB / 474.7 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000296/0.5259, allocations: 23.98 kB / 474.7 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006171/0.5321, allocations: 3.037 MB / 477.8 MB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5321, allocations: 0 / 477.8 MB, free: 4.117 MB / 346.7 MB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09193/0.624, allocations: 22.11 MB / 499.9 MB, free: 13.79 MB / 378.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.