Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadModel(ModelicaTest): time 2.339/2.339, allocations: 269 MB / 284.1 MB, free: 3.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/2.993e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1311, allocations: 61.88 MB / 410.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009799/0.141, allocations: 5.995 MB / 416.9 MB, free: 6.863 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005563/0.1466, allocations: 2.078 MB / 419 MB, free: 4.781 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.1476, allocations: 32 kB / 419 MB, free: 4.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008218/0.1485, allocations: 222.5 kB / 419.2 MB, free: 4.531 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003084/0.1516, allocations: 0.7242 MB / 420 MB, free: 3.805 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.1547, allocations: 0.7053 MB / 420.7 MB, free: 3.098 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002228/0.157, allocations: 0.7417 MB / 421.4 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004056/0.1611, allocations: 1.337 MB / 422.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.1622, allocations: 434.9 kB / 423.2 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.1633, allocations: 0.5453 MB / 423.7 MB, free: 20 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3301/0.4934, allocations: 213.2 kB / 423.9 MB, free: 4.191 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003368/0.4938, allocations: 50.47 kB / 424 MB, free: 4.191 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003321/0.4942, allocations: 206.5 kB / 424.2 MB, free: 4.191 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000421/0.4946, allocations: 97.56 kB / 424.3 MB, free: 4.191 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003021/0.4976, allocations: 1.293 MB / 425.6 MB, free: 4.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4977, allocations: 0 / 425.6 MB, free: 4.094 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4977, allocations: 1.156 kB / 425.6 MB, free: 4.094 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001004/0.4978, allocations: 0 / 425.6 MB, free: 4.094 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.01235/0.5102, allocations: 2.1 MB / 427.7 MB, free: 3.387 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.5103, allocations: 9.094 kB / 427.7 MB, free: 3.387 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/0.5263, allocations: 1.389 MB / 429.1 MB, free: 3.312 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.5282, allocations: 0.5863 MB / 429.7 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.5284, allocations: 100.5 kB / 429.8 MB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000537/0.529, allocations: 136.6 kB / 429.9 MB, free: 3.023 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005561/0.5345, allocations: 1.472 MB / 431.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-05/0.5347, allocations: 6.734 kB / 431.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/0.5349, allocations: 53.72 kB / 431.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.901e-05/0.535, allocations: 34.41 kB / 431.5 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005428/0.5404, allocations: 1.517 MB / 433 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01511/0.5556, allocations: 5.394 MB / 438.4 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004027/0.5596, allocations: 2.181 MB / 440.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003564/0.5601, allocations: 108.5 kB / 440.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.915e-05/0.5601, allocations: 45.95 kB / 440.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=127): time 4.559e-06/0.5601, allocations: 4.719 kB / 440.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=127): time 0.01732/0.5775, allocations: 3.076 MB / 443.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.5776, allocations: 91.11 kB / 443.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008466/0.5785, allocations: 404.3 kB / 444.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002907/0.5788, allocations: 46.08 kB / 444.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003998/0.5792, allocations: 0.497 MB / 444.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006183/0.5798, allocations: 422.9 kB / 445.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.58, allocations: 25.09 kB / 445.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.5801, allocations: 362.8 kB / 445.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.5818, allocations: 459.7 kB / 446 MB, free: 12.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001922/0.5838, allocations: 0.7009 MB / 446.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.5857, allocations: 0.5208 MB / 447.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.468e-05/0.5858, allocations: 2.219 kB / 447.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.005307/0.5911, allocations: 1.552 MB / 448.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.5912, allocations: 10.28 kB / 448.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.5912, allocations: 6.875 kB / 448.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002823/0.5941, allocations: 0.5254 MB / 449.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.5958, allocations: 201.9 kB / 449.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/0.6094, allocations: 5.021 MB / 454.6 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.6111, allocations: 127.2 kB / 454.7 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/0.6113, allocations: 49.11 kB / 454.7 MB, free: 7.219 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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 {20 28} Notification: Performance of prepare postOptimizeDAE: time 0.0008384/0.6121, allocations: 267.5 kB / 455 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/0.6124, allocations: 86.8 kB / 455.1 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004932/0.6174, allocations: 1.583 MB / 456.7 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/0.6175, allocations: 11.34 kB / 456.7 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6175, allocations: 5.656 kB / 456.7 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.578e-05/0.6175, allocations: 7.969 kB / 456.7 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008011/0.6255, allocations: 2.868 MB / 459.6 MB, free: 4.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.6256, allocations: 7.281 kB / 459.6 MB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.6269, allocations: 144.8 kB / 459.7 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002733/0.6297, allocations: 0.5181 MB / 460.2 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002724/0.63, allocations: 26.2 kB / 460.3 MB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.6432, allocations: 4.998 MB / 465.3 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.6433, allocations: 8 kB / 465.3 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007407/0.6507, allocations: 2.359 MB / 467.6 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008265/0.6516, allocations: 290.5 kB / 467.9 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/0.6519, allocations: 20.06 kB / 467.9 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.6531, allocations: 51.98 kB / 468 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003793/0.6534, allocations: 105.2 kB / 468.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.6536, allocations: 32 kB / 468.1 MB, free: 12.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005882/0.6542, allocations: 310.9 kB / 468.4 MB, free: 12.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6542, allocations: 0 / 468.4 MB, free: 12.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001997/0.6562, allocations: 411 kB / 468.8 MB, free: 11.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * 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 {20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004992/0.6568, allocations: 158.7 kB / 469 MB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006406/0.6632, allocations: 1.849 MB / 470.8 MB, free: 9.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.6632, allocations: 0 / 470.8 MB, free: 9.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004168/0.6674, allocations: 1.248 MB / 472.1 MB, free: 8.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009341/0.6684, allocations: 82.48 kB / 472.2 MB, free: 8.352 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005959/0.6744, allocations: 2.572 MB / 474.7 MB, free: 5.742 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009297/0.6753, allocations: 1.099 MB / 475.8 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005744/0.6759, allocations: 71.42 kB / 475.9 MB, free: 4.539 MB / 378.7 MB Notification: Performance of SimCode: time 2.665e-06/0.676, allocations: 0 / 475.9 MB, free: 4.539 MB / 378.7 MB Notification: Performance of Templates: time 0.0385/0.7145, allocations: 17.16 MB / 493 MB, free: 3.375 MB / 394.7 MB