Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 102.8 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 35.95 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3262, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.004843/0.3311, allocations: 4.956 MB / 404.4 MB, free: 28.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.3334, allocations: 1.268 MB / 405.7 MB, free: 27.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004731/0.3339, allocations: 15.94 kB / 405.7 MB, free: 27.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.3342, allocations: 95.22 kB / 405.8 MB, free: 27.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.3345, allocations: 214.2 kB / 406 MB, free: 26.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.3351, allocations: 267.7 kB / 406.3 MB, free: 26.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006087/0.3357, allocations: 1.052 MB / 407.3 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.336, allocations: 227.4 kB / 407.5 MB, free: 25.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.3362, allocations: 382.5 kB / 407.9 MB, free: 24.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.3366, allocations: 438 kB / 408.3 MB, free: 24.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.546e-05/0.3367, allocations: 52 kB / 408.4 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.3368, allocations: 79.98 kB / 408.5 MB, free: 24.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.771e-05/0.3369, allocations: 163.3 kB / 408.6 MB, free: 24.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.3372, allocations: 417.8 kB / 409 MB, free: 23.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005662/0.3378, allocations: 0.959 MB / 410 MB, free: 22.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3378, allocations: 0 / 410 MB, free: 22.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3378, allocations: 0 / 410 MB, free: 22.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.3378, allocations: 4 kB / 410 MB, free: 22.77 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.00219/0.34, allocations: 1.252 MB / 411.3 MB, free: 21.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3401, allocations: 12.03 kB / 411.3 MB, free: 21.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.3402, allocations: 95.81 kB / 411.4 MB, free: 21.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.3407, allocations: 479.6 kB / 411.8 MB, free: 20.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.3407, allocations: 49.69 kB / 411.9 MB, free: 20.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.083e-05/0.3408, allocations: 60.38 kB / 411.9 MB, free: 20.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.342, allocations: 0.6587 MB / 412.6 MB, free: 20.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.342, allocations: 3.906 kB / 412.6 MB, free: 20.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/0.342, allocations: 24 kB / 412.6 MB, free: 20.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.3421, allocations: 16 kB / 412.6 MB, free: 20.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.3435, allocations: 0.6922 MB / 413.3 MB, free: 19.33 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.003008/0.3465, allocations: 2.394 MB / 415.7 MB, free: 16.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.3477, allocations: 0.5827 MB / 416.3 MB, free: 16.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006132/0.3484, allocations: 330 kB / 416.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.118e-05/0.3484, allocations: 8.422 kB / 416.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008781/0.3493, allocations: 429.4 kB / 417.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 2.625e-06/0.3493, allocations: 0 / 417.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.0709/0.4202, allocations: 15.41 MB / 432.5 MB, free: 15.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.806e-05/0.4204, allocations: 141.5 kB / 432.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006188/0.421, allocations: 0.5147 MB / 433.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.4211, allocations: 49.69 kB / 433.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.4214, allocations: 383.8 kB / 433.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/0.4217, allocations: 319.4 kB / 433.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003583/0.4221, allocations: 182.5 kB / 434 MB, free: 14.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4223, allocations: 390.6 kB / 434.4 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.4243, allocations: 0.7244 MB / 435.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/0.4265, allocations: 0.9551 MB / 436.1 MB, free: 12.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003942/0.4304, allocations: 1.693 MB / 437.8 MB, free: 10.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.4305, allocations: 8 kB / 437.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02314/0.4536, allocations: 5.374 MB / 443.2 MB, free: 4.906 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.809e-05/0.4537, allocations: 71.33 kB / 443.2 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.4538, allocations: 4 kB / 443.2 MB, free: 4.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03444/0.4882, allocations: 6.841 MB / 450.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/0.489, allocations: 147.7 kB / 450.2 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006848/0.4958, allocations: 3.164 MB / 453.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.4977, allocations: 183.8 kB / 453.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/0.4979, allocations: 47.97 kB / 453.6 MB, free: 10.37 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.0005102/0.4984, allocations: 229.6 kB / 453.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.4986, allocations: 79.06 kB / 453.9 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02164/0.5202, allocations: 5.111 MB / 459 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-05/0.5203, allocations: 8 kB / 459 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5203, allocations: 0 / 459 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/0.5203, allocations: 7.984 kB / 459 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.5218, allocations: 1.12 MB / 460.2 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.5219, allocations: 0 / 460.2 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/0.5224, allocations: 91.88 kB / 460.3 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03452/0.5569, allocations: 6.813 MB / 467.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003451/0.5573, allocations: 23.98 kB / 467.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006248/0.5636, allocations: 3.029 MB / 470.1 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5636, allocations: 0 / 470.1 MB, free: 9.711 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.08732/0.6509, allocations: 22.1 MB / 492.2 MB, free: 3.387 MB / 362.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.